This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem with system()


Hello,

I tried

system("command.com /c dir");

It worked fine under cygwin environment.
But when I run it from the DOS prompt, it doesn't work.
No error message or what so ever given, it just skips.

I actually want to write a CGI that runs a command line program.

Thank you.
Piyatad

I use
gcc version 2.95.2-5 19991024
cygwin1.dll 1.1.6 build date: 2000-11-21


Piyatad Tabmanee (Job)
Tel:(662)6527352
Mobile:(661)8458858
Visit my web page:
http://bangkok.com/mypage/piyatad
-----------------------------------------------
Thailand's BEST Free Email at Bangkok.com - http://mail.bangkok.com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]