Re: Is this program open?
Re: Is this program open?
- Subject: Re: Is this program open?
- From: Ondra Cada <email@hidden>
- Date: Thu, 13 Apr 2006 20:21:05 +0200
John,
On 13.4.2006, at 20:07, John Stiles wrote:
I stared at the output of "ps -axo command" for a minute but it
seemed a little inconsistent
That's what Finlay warned about. The output is perfectly consistent
in that it gives you the exact path the command has been launched with
(*). If it has been launched with an absolute one, you get it. If it
was not, you get none.
Just try e.g.
ps -auxww | fgrep fgrep
ps -auxww | /usr/bin/fgrep fgrep
cd /usr ; ps -auxww | ./bin/fgrep fgrep
(*) I believe in principle the path *can* be messed up with after the
process has been launched, but that would be extremely rare case.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden