shell
Provides methods for working with operating system shell.
Last updated
Was this helpful?
Provides methods for working with operating system shell.
Assert that the shell command's error output (stderr) matches the specified pattern.
Parameters:
pattern
String
Pattern to assert.
Assert that the shell command's output (stdout) matches the specified pattern.
Parameters:
pattern
String
Pattern to assert.
Execute command
Spawn child process
Parameters:
command
String
Shell command to be executed, including arguments, if applicable.
Returns:
Object - Response object containing stdout, stderr, exit code, and signal (if process was terminated by a signal).
Last updated
Was this helpful?
Was this helpful?