You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the enhancement
Add an option to exec.exec to invoke a specific shell, e.g. /bin/bash, when running the command.
Alternatively, document that exec.exec does not invoke a shell by default.
Code Snippet
Currently:
awaitexec.exec('/bin/bash',['-c',`cp -a /Volumes/Julia-*/Julia-*.app/Contents/Resources/julia ${process.env.HOME}`])
Additional information
The docs say that "you can use this package to execute your tools on the command line in a cross platform way". To me that implies it invokes a shell, which it doesn't. This misunderstanding has caused me quite the headache when I tried to find out why cp wasn't working with wildcards.
Disclaimer: I have almost zero experience with Typescript, perhaps this behaviour is obvious to people who regularly use it. 🤷♂
The text was updated successfully, but these errors were encountered:
Describe the enhancement
Add an option to
exec.exec
to invoke a specific shell, e.g./bin/bash
, when running the command.Alternatively, document that
exec.exec
does not invoke a shell by default.Code Snippet
Currently:
Better:
Additional information
The docs say that "you can use this package to execute your tools on the command line in a cross platform way". To me that implies it invokes a shell, which it doesn't. This misunderstanding has caused me quite the headache when I tried to find out why
cp
wasn't working with wildcards.Disclaimer: I have almost zero experience with Typescript, perhaps this behaviour is obvious to people who regularly use it. 🤷♂
The text was updated successfully, but these errors were encountered: