-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider exec'ing Argcfile #221
Comments
@CGamesPlay fish runs Which part needs improvement? |
Instead of running
|
Three is no way to get rid of argc process in the ps tree. Bash is invoked outside of the script, no exec exists. |
Does exec return exit statuscode? |
No, it actually doesn't return at all. The |
Fantastic! Thank you 🙂 |
A small change which would be a bit more hygienic is to exec the Argcfile.sh when it's used.
Consider an Argcfile.sh like this one:
When we run this, it results in a process tree like this one:
The feature request is for argc (PID 36428) to use
exec
when it runs the Argcfile.sh, instead of starting it as a child process. This is minor but would be slightly cleaner.The text was updated successfully, but these errors were encountered: