delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/06/03:18:43

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
Message-ID: <3BE79C3C.51E91E85@syntrex.com>
Date: Tue, 06 Nov 2001 09:15:56 +0100
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: m DOT buchmeier AT fz-juelich DOT de
CC: cygwin AT sources DOT redhat DOT com
Subject: Re: system() function doesnt work outside cygwin
References: <Pine DOT LNX DOT 4 DOT 21 DOT 0111051953500 DOT 6336-100000 AT IFF572 DOT IFF DOT KFA-JUELICH DOT DE>

Can you hand the output of "cygcheck -s -v" and also your 
windows path ("echo %PATH%" in a cmd window) ?

mbuch AT IFF572 DOT IFF DOT KFA-JUELICH DOT DE wrote:
> 
> My application (build with unix layer, recent cygwin
> distro, win2K) cant call other programs using the system()
> fucntion when started from outside the cygwin enviroment.
> I have tryed out both posix and unix complete path
> without success.
> Here is a simple code that reproduces the problem:
> 
> main()
> {
> system("notepad");
> }
> 
> It works fine when invoked from within cygwin
> but when called fron windows nothing happens.
> 
> Anyone knows what i am doing wrong ?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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