Methods
-
static spawnCommand(command, args, optopt) → {String}
-
Normalize a command across OS and spawn it (asynchronously).
Parameters:
Name Type Attributes Description command
String program to execute
args
Array list of arguments to pass to the program
opt
object <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 command
String program to execute
args
Array list of arguments to pass to the program
opt
object <optional> any execa options
Returns:
String -spawn.sync result