Skip to content
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

Make wrapper script exec application to prevent hanging parent process (shell) #27

Closed

Conversation

UffeJakobsen
Copy link
Contributor

@UffeJakobsen UffeJakobsen commented Aug 28, 2024

Make wrapper script exec application to prevent hanging parent process (shell)

Example:

PID      PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
12370     858  20   0   7776  5376 do_wai S+   tty2       0:00 /bin/sh /usr/local/bin/catapult
12378   12370  20   0 1256156 198368 do_sys Sl+ tty2      0:00 python3 /usr/local/bin/catapult-start

@otsaloma
Copy link
Owner

I did the reverse a while back :-) 446040b

My reasoning was to make killall work as expected. What's your reasoning, a matter of principle, or have you run into some practical issue?

@UffeJakobsen
Copy link
Contributor Author

I was annoyed over the unnecessary hanging process - it looked a bit sloppy - I guess that places it in the "principle" category :-)

@otsaloma
Copy link
Owner

OK, I'll close this, but I'm open to suggestions if new options for how to arrange these two scripts come up.

@otsaloma otsaloma closed this Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants