ShellAPI should expect commands to return undefined or a promise