Created
April 7, 2018 21:29
-
-
Save Almenon/bc81bffab2365d7daf960bad5c8b954c to your computer and use it in GitHub Desktop.
spawning and killing a process
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { spawn, ChildProcess } from "child_process" | |
child = spawn("command", ["argument"]) | |
child.kill() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment