Find the answer to your Linux question:
Results 1 to 2 of 2
I have a C program in Solaris that contains system calls, something like this: system ("ls -l > file"); I installed cygwin and this C program compiled OK on a ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    1

    how to run system calls in cygwin environment?

    I have a C program in Solaris that contains system calls, something like this:

    system ("ls -l > file");

    I installed cygwin and this C program compiled OK on a Windows XP machine. When I go to run it at the cygwin shell, the C program hangs at this system call. To continue, I have to press a carriage return. If not, the C program just hangs.

    How can I solve this problem in Windows when I use cygwin?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    cygwin is not Linux. This is a Linux programming forum. Please post this to cygwin support forums for appropriate help.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...