| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Pipes in EMX |
RVI>Andrew Clegg said to All: RVI> AC> I am having some problems working out how to use anonymous RVI> AC> pipes in EMX. RVI> AC> I want to start a child process and communicate with its RVI> AC> stdin and stdout. I have looked at popen(), which lets me RVI> AC> start it with a pipe connected to stdin *or* stdout, but it RVI> AC> doesn't seem to be what I want; and pipe(), which creates a RVI> AC> pipe with two handles (one for reading and one for writing) RVI> AC> but I can't understand how I am supposed to 'connect' this RVI> AC> pipe to a process. RVI> AC> Can anyone help? Sure. You want to check out dup() and dup2(). ___ X SLMR 2.1a X --- Maximus/2 2.02* Origin: Bob's Bored/2 (1:244/440) SEEN-BY: 105/42 620/243 624/50 711/401 409 410 413 430 807 808 809 934 955 SEEN-BY: 712/407 515 628 704 713/888 800/1 7877/2809 @PATH: 244/400 250/702 3615/50 396/1 270/101 105/103 42 712/515 711/808 809 @PATH: 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.