This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

g77, cygwin, Win XP Pro, CALL System(Command, Status)


Hello,

I am using g77 (cygwin, Win XP Pro) and I would like to pass a command (e.g. 'cls') to the dos-shell.

      CALL System('cls')

do not work.

I I use

      CALL System('cls', k)

the returned value of k is

127

Can you help me?


Thanks, Lars



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]