Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Piyatad Tabmanee" Message-Id: <16E1CD40AE525D11789300807CFB3258@piyatad.bangkok.com> Date: Sun, 1 Apr 2001 23:42:04 +0700 X-Priority: Normal Content-Type: text/plain; charset=iso-8859-1 To: cygwin AT sources DOT redhat DOT com Subject: Problem with system() X-Mailer: Web Based Pronto Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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