home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!sdd.hp.com!hplabs!ucbvax!MACKAY.MPCE.MQ.EDU.AU!s3007588
- From: s3007588@MACKAY.MPCE.MQ.EDU.AU
- Newsgroups: comp.lang.c
- Subject: Problem with system function and CSH.
- Message-ID: <9209040938.AA04950@mackay.mpce.mq.edu.au>
- Date: 5 Sep 92 00:38:21 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Lines: 20
-
- G'day,
- I have been trying to work out how to pass a
- command (using the 'system' function) to the CSH instead of
- the standard shell. I experimented with redirection ,
- i.e. system("csh < blah"),
- but didn't figure it out.
- Any help would be appreciated.
-
-
- Allen McAuley,
- s3007588@mackay.mpce.mq.edu.au
-
- p.s Just in case it helps, my environment is:
- SunOS Release 4.1.1
- running on sparc ipc's.
-
- p.p.s. a mail response would be better than through this news
- group, but whatever is easiest is fine.. Thanks.
-
-
-