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