lint-action icon indicating copy to clipboard operation
lint-action copied to clipboard

Add `execute` to run a command without a shell (and use it to u-opt git usage)

Open compnerd opened this issue 3 years ago • 2 comments

This adds a new utility function execute which executes a command without the assumption that there is a POSIX-like shell being used. This functionality is needed to eventually solve #213. However, it is still useful to perform some micro-optimizations of avoiding the shell when using git.

compnerd avatar May 09 '21 22:05 compnerd

We should probably switch to @actions/exec "to execute tools in a cross platform way".

ocean90 avatar May 17 '21 18:05 ocean90

@ocean90 execute is actually using spawnSync rather than exec, which doesn't have the same exact semantics.

compnerd avatar May 19 '21 02:05 compnerd