On Saturday 09 April 2005 05:20 pm, Anders Norrbring wrote:
I don't know much about the jar file itself, it's the Azureus BitTorrent client. I guess I can find out somehow by unpacking it, or is that not possible?
Anyway, I tried what you suggested about a new directory, but no file was written to it. Startproc displays the pid when it exists, but that's the only trace I can get without running a ps to look it up manually, which isn't good since I want to run it scripted.
Startproc isn't a "must", I can start it with screen instead if that will make any difference. I thought I could make use of the bash $$ somehow, but it seems like I can't get it to echo the java process pid, but only the pid "before", the parent script's pid that is...
Any other suggestions?
Anders.
If this is for a script, just start the program normaly and try somthing like: azureus_pid=`/bin/ps -C azureus -o pid=` kill $azureus_pid -- Louis Richards