In the end I decided to use the daemon utility (man daemon) to start and stop the jython daemon by unique name.
daemon --name jybridge jython /opt/mypath/myprogram.py
daemon --name jybridge
In bash, use $!
Mohamed Lrhazi wrote:
> I am sorry... I was mistaken... thought it was straightforward.... like: