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
Hey. I'm exporting execa.commandSync function and then importing it as shell, so that I can use it as: shell("mkdir something").
It would be awesome to have a function that could work with multiline (and multi-commands) (like a bash script) at once with one command. Not sure if suggested before.
shell(` mkdir ${foo} cd ${foo} touch ${foo}.txt `)
The text was updated successfully, but these errors were encountered:
That being said, I think this is about orchestrating commands and Execa should focus on single command execution and let users build utilities on top of it instead. So I would vote for keeping those features of Execa itself. What do you think @sindresorhus?
Feature Suggestion
Hey. I'm exporting
execa.commandSync
function and then importing it asshell
, so that I can use it as:shell("mkdir something")
.It would be awesome to have a function that could work with multiline (and multi-commands) (like a bash script) at once with one command. Not sure if suggested before.
The text was updated successfully, but these errors were encountered: