This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
System Calls
- From: "Murdoch, Matthew" <mmurdoch at PFC dot Forestry dot CA>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Tue, 6 Aug 2002 18:23:30 -0400
- Subject: System Calls
Hi list,
I am fairly new to cygwin I have a fairly trivial question. I am trying to
make a system call using the system function in C. I have read some of the
previous postings on the newsgroup, but I am still stuck. I am trying to
do the following command, which calls an executable file and supplies it
with an input file. It then pipes the output to an otuput file.
system("cmd /c c:\"users\"mmurdoch\"ACE\"sixs <
c:\"users\"mmurdoch\"ACE\"sixSIn.txt
> c:\"users\"mmurdoch\"ACE\"sixSOut.txt");
I do have the "sh.exe" file in my \bin directory.
Thanks in advance for the help
Matthew Murdoch
--
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/