This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Problem with system()
- To: cygwin at sources dot redhat dot com
- Subject: Problem with system()
- From: "Piyatad Tabmanee" <piyatad at bangkok dot com>
- Date: Sun, 1 Apr 2001 23:42:04 +0700
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