Hi Richard,

RL> And, frankly, why would you want to do that?  It only sows confusion
RL> in ps output. :-)

I happen to agree with you. Why would you want to do it. The reason it is being
done in this application is to keep a specification for he application happy.

When the php program is executing and you do a ps you see

/usr/local/bin/php -q listener.php

which is perfectly fine by me :-)

What happens with the Perl application beacuse of stuffing the string back into
the $0 is that you see

Listener is accepting connections on Port 15556

It seems to me that whoever wrote the specification had this thing about ps
showing a nice string instead of the program name actually running. Of course I
know that this is what ps is supposed to do and Perl allows you to tell nice
lies to ps :-)



Regards,
Richard Luckhurst
Product Development
Exodus Systems - Sydney, Australia.
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to