Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 1 Mar 2005 09:58:49 +0100 From: Muzero To: cygwin AT cygwin DOT com Subject: system call Message-Id: <20050301095849.2242440d.gigy@freemail.it> In-Reply-To: <42235790.3070208@subnet142.com> References: <42235790 DOT 3070208 AT subnet142 DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes hi to all, i have a problem with C system() call: When i try to compile and execute a simple program like this: int main() { system("dir"); return 0; } On CYGWIN shell it works without problems...but when i try to execute it without cygwin enviroment (on dos shell) system call do not work and exit with exit code 127. What i should do? Thanks a lot for any help Muzero -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/