shell
Provides methods for working with operating system shell.
assertOutput
Assert whether the shell command output (stdout) is matching the specified pattern.
Parameters:
Name | Type | Description |
---|---|---|
|
| Pattern to assert. |
exec
Execute command
Spawn child process
Parameters:
Name | Type | Description |
---|---|---|
|
| Shell command to be executed, including arguments, if applicable. |
Returns:
String
- null | Error | stdout result
Last updated