Avoid extra sh process from shell wrapper
`exec` from shell wrapper to avoid persistent sh process
This commit is contained in:
1 parent
d0dc19aa78
commit
ea97549161
1 file changed
+1
-1
@@ -110,7 +110,7 @@ create_wrapper () {
|
||||
|
||||
cat <<- EOF > "${file}"
|
||||
#!/bin/sh
|
||||
$@ "\$@"
|
||||
exec $@ "\$@"
|
||||
EOF
|
||||
chmod +x "${file}"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user