delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/04/16:11:42

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "A.R. Burgers" <a DOT rburgers AT quicknet DOT nl>
Subject: Re: What dll is necessary to use system()-function
Date: Mon, 04 Jan 2010 22:11:10 +0100
Lines: 28
Message-ID: <4B42596E.8010900@quicknet.nl>
References: <27019085 DOT post AT talk DOT nabble DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
In-Reply-To: <27019085.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Michael Schmid schreef:

from http://linux.die.net/man/3/system:

system() executes a command specified in command by calling */bin/sh* -c command,

you'll have to make sure /bin/sh will work, that is what I found.

Teun

> Hi!
> 
> Started to use cygwin, it's great. Now I have a working prog and want it run
> on another computer.
> 
> So I moved the exe, and all necessary dlls... But there seem to be one
> missing, because the system()-function (http://linux.die.net/man/3/system)
> doesn't work... E.g. system(cp ./file1 ./file2).
> 
> Does anybody know which dll I need? Or may the problem be another one?
> 
> Is there any way to quickly find out which dll i need for a specific
> function to run? Simple example: I included stdio.h and used printf and want
> to know which dll I need now (this case is easy, but just if I wouldn't
> know...)
> 
> Thanks!
> Michael


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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