Methods
-
static spawnCommand (command, args, opt opt ) → {String}
-
Normalize a command across OS and spawn it (asynchronously).
Parameters:
Name Type Attributes Description commandString program to execute
argsArray list of arguments to pass to the program
optobject <optional>
any cross-spawn options
Returns:
String -spawned process reference
-
static spawnCommandSync (command, args, opt opt ) → {String}
-
Normalize a command across OS and spawn it (synchronously).
Parameters:
Name Type Attributes Description commandString program to execute
argsArray list of arguments to pass to the program
optobject <optional>
any cross-spawn options
Returns:
String -spawn.sync result