Interfaces
Methods
SM exec(command: string, options: module:child_process.ExecOptionsType, callback: module:child_process.ExecCallbackCallback) child_process.ChildProcess
Parameters:
| Name | Type | Argument |
|---|---|---|
command |
string | |
options |
module:child_process.ExecOptionsType | |
callback |
module:child_process.ExecCallbackCallback |
<optional> |
SM exec(command: string, callback: module:child_process.ExecCallbackCallback) child_process.ChildProcess
Parameters:
| Name | Type | Argument |
|---|---|---|
command |
string | |
callback |
module:child_process.ExecCallbackCallback |
<optional> |
SM execFile(file: string, callback: module:child_process.ExecFileCallbackCallback) child_process.ChildProcess
Parameters:
| Name | Type | Argument |
|---|---|---|
file |
string | |
callback |
module:child_process.ExecFileCallbackCallback |
<optional> |
SM execFile(file: string, args: string[], callback: module:child_process.ExecFileCallbackCallback) child_process.ChildProcess
Parameters:
| Name | Type | Argument |
|---|---|---|
file |
string | |
args |
Array.<string> |
<optional> |
callback |
module:child_process.ExecFileCallbackCallback |
<optional> |
SM execFile(file: string, args: string[], options: module:child_process.ExecFileOptionsType, callback: module:child_process.ExecFileCallbackCallback) child_process.ChildProcess
Parameters:
| Name | Type | Argument |
|---|---|---|
file |
string | |
args |
Array.<string> |
<optional> |
options |
module:child_process.ExecFileOptionsType |
<optional> |
callback |
module:child_process.ExecFileCallbackCallback |
<optional> |
SM execFileSync(command: string, args: string[], options: module:child_process.ExecFileSyncOptionsType) child_process.ChildProcess
Parameters:
| Name | Type | Argument |
|---|---|---|
command |
string | |
args |
Array.<string> |
<optional> |
options |
module:child_process.ExecFileSyncOptionsType |
<optional> |
SM execSync(command: string, options: module:child_process.ExecSyncOptionsType) child_process.ChildProcess
Parameters:
| Name | Type | Argument |
|---|---|---|
command |
string | |
options |
module:child_process.ExecSyncOptionsType |
<optional> |
SM fork(modulePath: string, args: string[], options: module:child_process.ForkOptionsType) child_process.ChildProcess
Parameters:
| Name | Type | Argument |
|---|---|---|
modulePath |
string | |
args |
Array.<string> |
<optional> |
options |
module:child_process.ForkOptionsType |
<optional> |
SM spawn(command: string, args: string[], options: module:child_process.SpawnOptionsType) child_process.ChildProcess
Parameters:
| Name | Type | Argument |
|---|---|---|
command |
string | |
args |
Array.<string> |
<optional> |
options |
module:child_process.SpawnOptionsType |
<optional> |
Callbacks
Type Definitions
Type:
- Object
- Properties:
-
Name Type cwdstring stdioany customFdsany envany encodingstring timeoutnumber maxBufferstring killSignalstring
Type:
- Object
- Properties:
-
Name Type cwdstring inputstring | Buffer stdioany envany uidnumber gidnumber timeoutnumber maxBuffernumber killSignalstring encodingstring
Type:
- Object
- Properties:
-
Name Type cwdstring stdioany customFdsany envany encodingstring timeoutnumber maxBuffernumber killSignalstring
Type:
- Object
- Properties:
-
Name Type cwdstring inputstring | Buffer stdioany envany uidnumber gidnumber timeoutnumber maxBuffernumber killSignalstring encodingstring
Type:
- Object
- Properties:
-
Name Type cwdstring stdioany customany envany detachedboolean