runme icon indicating copy to clipboard operation
runme copied to clipboard

Support Windows shells such as Powershell

Open mxsdev opened this issue 2 years ago • 1 comments

Supporting windows shells:

  • Provide shell_behavior in execute request, which will be an enum to specify the desired shell behavior.
  • If this is unspecified, we try to determine the behavior based on the name, and fallback to sh-like on *nix, dos-lke in windows
  • Need to support -o pipefail and -e equivalents on PowerShell, DOS
    • It would appear that this RFC implementation should do the trick for powershell.
  • Need to implement functions in command_windows.go for windows to not break on interactive scripts

mxsdev avatar Mar 08 '23 15:03 mxsdev