home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!poly-vlsi!usenet!dagenais
- From: dagenais@vlsi.polymtl.ca (Michel Dagenais)
- Newsgroups: comp.lang.modula3
- Subject: Forking a threaded Modula 3 process
- Message-ID: <DAGENAIS.92Dec17090549@pollux.vlsi.polymtl.ca>
- Date: 17 Dec 92 14:05:49 GMT
- Sender: news@vlsi.polymtl.ca (USENET News System)
- Organization: Ecole Polytechnique de Montreal, Canada
- Lines: 16
-
-
- I want to communicate between a Modula 3 program and another already
- written C program. Ideally, the C program should interact through its
- stdin/stdout/stderr file descriptors. I know how to do that by creating
- pipes, forking the Modula 3 program and exec on the C program. I am worried
- about the multiple threads in the forked process however (they should not
- attemps X windows output and so on). I suppose that adding an interface to
- the "popen" unix call would be cleaner and safer. Advices?
- --
- ---------------------------------------------------------------------
-
- Prof. Michel Dagenais dagenais@vlsi.polymtl.ca
- Dept of Electrical and Computer Eng.
- Ecole Polytechnique de Montreal tel: (514) 340-4029
-
- ---------------------------------------------------------------------
-