Menu

#48 exec_msg_nowait request

ver devel
open
nobody
modules (93)
5
2007-01-18
2007-01-18
No

Hello,
For executing external scripts the exec module uses exec_msg, which however waits for the external command to end and stops script execution. Moreover there is a hanging defunct child process if the command was set to run in background.

It would be useful if there was a function accessible through main script that will not wait for the programm to end, just fork it and go on. Something like exec_msg_nowait.
In this way if a program fails in some unusual way (for example - no interpreter found to execute script) the main process will not wait for it forever.

Discussion


Log in to post a comment.