python process wrapper
<p>i have a java program which runs on a particular port in ubuntu. While running the program i need to take the output from the program and needs to save it in the log file. I use nohub to run them currently.when they fail I don't know why they fail.Then the process restart the nohub get overwritten . I want the process to restart and update the log file, I can check it at a later date. Currently I don't know the state of it, is it running or failed.</p>

<p>I heard that it is pretty easy to do it using python scripts .
Anyone please help me to do this?</p>

<p>Thanks in advance
Renjith Raj</p>
