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
These could be written to the folder the task is being ran, which has the added benefit of being able to simply cd data/<id> to run the script.
This will involve
having the tag function return something we can pick up on, so that during the lifecycle hook which creates the operation, it can inject the dir of the task (similar to how if the operationCreator returns a string, it considers it a { shell: true } child process)
nice way to remove spaces from beginning of lines (regex)
probably return the spawned child process (as opposed to promise)
a "base" to add support for other languages (assuming they have unique quirks, file extension, etc)
The text was updated successfully, but these errors were encountered:
Due to the way we parse a string into a child process it may be the case that certain operations (e.g., a bash for/while read loop) may not run.
It would be nice to use ES6 tagged template literals to define scripts, this could look like:
These could be written to the folder the task is being ran, which has the added benefit of being able to simply
cd data/<id>
to run the script.This will involve
dir
of the task (similar to how if theoperationCreator
returns a string, it considers it a{ shell: true }
child process)spawn
ed child process (as opposed to promise)The text was updated successfully, but these errors were encountered: