This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ps executable does not appear to match source
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to paul.hermeneutic@gmail.com on 1/19/2008 8:31 PM:
| While aliasing does work for interactive and shell scripts, it does
| not work for Perl backtick expressions.
Why not just do:
echo exec procps "$@" > /usr/local/bin/ps
Then, as long as /usr/local/bin is on the PATH before /usr/bin (which is
the default), then any program (including perl) that exec's 'ps' will use
procps rather than cygwin ps.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHksWV84KuGfSFAYARAhaRAJ0YUuLil/30GSy9gVB2z5YRS3PZVACfek8v
xATMzA2SuWhFtQ+jF6r3GdM=
=JKYw
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/