As part of a (win32) perl program I'm running, I'm trying to run a system ps command and return to the DOS shell (or whatever the shell is known as in Win2K). From the command line, I can do the following, but I stay in the bash shell:
C:> c:\cygwin\cygwin.bat | ps | exit [ ps info here ] my_machine $ The bottom line is that I want to read process info into an array as follows: @my_array=`cygwin.bat | ps | grep "desired string"`; Any help is appreciated! Thanks, Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/