Executes a shell command and returns it as a Promise.
Optional
The shell command to execute.
A Promise that resolves with the output of the shell command.
Executes a shell command and returns it as a Promise.