Closed jamesqo closed 8 years ago
@jamesqo thanks!
BTW - I'm no *nix expert. What difference does exec
make?
exec
runs scriptcs without having to spawn a subshell. Basically improves performance, there's no need to fork a new process.
@jamesqo sounds good. Thanks!
Using
$@
to forward arguments will break for arguments with whitespace. Using"$@"
preserves this, e.g../build.sh 'foo bar' baz
will callscriptcs ./baufile.csx 'foo bar' baz
and notscriptcs ./baufile.csx foo bar baz
.