Hi! On Fri, Nov 12, 1999 at 10:58:41AM +0100, Julian Reschke wrote: > Do Unix/POSIX/Linux systems actually differentiate between a process > name and the file name from which the process was created? Yes. IRIX and Solaris (or more generally, SysV-style systems) have the option `-f' for ps, which will cause it to print the full path and the command line arguments, if possible (actually, you get the contents of argv[0] of the process, e.g. `-bash' for login shells). Without it, you get what was passed to exec() as the command name, path stripped. Under Linux (which currently has a BSD-style ps in most distributions), simple ps will behave like SysV-ps with the option `-f', while `ps c' will cause it to behave like SysV-ps without options. Reproducing this behaviour with MiNT would require Pexec() to check for argv[0] in the environment passed, as it's not directly passed as a parameter. Ciao Thomas -- Thomas Binder (Gryf @ IRCNet) gryf@hrzpub.tu-darmstadt.de PGP-key available on request! binder@rbg.informatik.tu-darmstadt.de Vote against SPAM: http://www.politik-digital.de/spam/
Attachment:
pgpxBUVoblDDW.pgp
Description: PGP signature