in reply to Spawning self - are backticks forking with same name
Then to get it started I am running it using the perl command.sleep 120;
The output of ptree is doesn't have two perl processes like you are seeing.# perl -w p.pl
I realise that we are using different versions of Solaris (you are most likely running Solaris 9) but I don't thin that this would make a difference.624 /sbin/sh 625 bash --login -o vi 651 perl -w p.pl
What is happening in your script? Are you using open with a "|" somewhere?
|
|---|