Thank you very much On Monday, September 30, 2013, Kevin Palm wrote:
> Hi Marcos, > > You have to run your command using exec ( > http://man7.org/linux/man-pages/man3/exec.3.html) > This will replace your script-process by the process you are calling > > Regards, > Kevin > > On 1 October 2013 01:24, Marcos Cano <mc...@stsa.info <javascript:_e({}, > 'cvml', 'mc...@stsa.info');>> wrote: > >> is there any effectvie way of running my "command" from a script? >> >> my problem is that as long as i remeber when you run some command from a >> script, the script itself will have a certain PID (for exampple 1991) and >> the command itself will have a different PID (1993) ... >> >> so when trying to add the "command"in supervisor i will totally loose >> control over my command and just have controll over the script.. >> >> >> am i doing things right? >> >> _______________________________________________ >> Supervisor-users mailing list >> Supervisor-users@lists.supervisord.org <javascript:_e({}, 'cvml', >> 'Supervisor-users@lists.supervisord.org');> >> https://lists.supervisord.org/mailman/listinfo/supervisor-users >> >> >
_______________________________________________ Supervisor-users mailing list Supervisor-users@lists.supervisord.org https://lists.supervisord.org/mailman/listinfo/supervisor-users