makeWrapper: child process inherits argv[0]
This commit is contained in:
parent
90a72bd177
commit
c234f37b59
@ -72,7 +72,7 @@ makeWrapper() {
|
||||
|
||||
# Note: extraFlagsArray is an array containing additional flags
|
||||
# that may be set by --run actions.
|
||||
echo exec "$original" $flagsBefore '"${extraFlagsArray[@]}"' '"$@"' >> $wrapper
|
||||
echo exec -a '"$0"' "$original" $flagsBefore '"${extraFlagsArray[@]}"' '"$@"' >> $wrapper
|
||||
|
||||
chmod +x $wrapper
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user