MorphOS Developer
Posts: 3210 from 2003/3/5
From: Canada
Quote:
JuLieN wrote:
Ok, I'm still stuck with this problem... How do you "get the std_in and std_out of the newly started process" ? :(
Well... as piping isn't very reliable, I can only suggest that you prepare your own DOS handler for input and output and handle read and write DOS packets in it. A handler gives you a universal way of handling I/O (both a console and every file-system are handlers).
You could check http://aminet.net/package/comm/misc/AuxHandler for an example - not directly usable but should give you an idea.
[ Edited by jacadcaps 17.04.2014 - 06:02 ]