Module selenium-webdriver/io/exec
code »Main
exec ( command, opt_options ) ⇒
!Command
Parameters |
---|
|
Returns |
|
Show:
Type Definitions
code »Options : {args: (!Array.<string>|undefined), env: (!Object.<string, string>|undefined), stdio: (string|!Array|undefined)}
A hash with configuration options for an executed command.
-
args
- Command line arguments.
env
- Command environment; will inherit from the current process
if missing.
stdio
- IO configuration for the spawned server process. For
more information, refer to the documentation of
child_process.spawn
.
{args: (!Array.<string>|undefined), env: (!Object.<string, string>|undefined), stdio: (string|!Array|undefined)}
args
- Command line arguments.env
- Command environment; will inherit from the current process if missing.stdio
- IO configuration for the spawned server process. For more information, refer to the documentation ofchild_process.spawn
.