Problem with system()
Piyatad Tabmanee
piyatad@bangkok.com
Sun Apr 1 09:37:00 GMT 2001
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
More information about the Cygwin
mailing list