Methods
-
static spawnCommand(command, args, optopt) → {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 execa options
Returns:
String -spawned process reference
-
static spawnCommandSync(command, args, optopt) → {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 execa options
Returns:
String -spawn.sync result