delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/01/12:37:44

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Piyatad Tabmanee" <piyatad AT bangkok DOT com>
Message-Id: <16E1CD40AE525D11789300807CFB3258@piyatad.bangkok.com>
Date: Sun, 1 Apr 2001 23:42:04 +0700
X-Priority: Normal
To: cygwin AT sources DOT redhat DOT com
Subject: Problem with system()
X-Mailer: Web Based Pronto
Mime-Version: 1.0

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019