How do you get pub.freeprocess to read i/o ??

BlitzMax Forums/BlitzMax Programming/How do you get pub.freeprocess to read i/o ??

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

What am I doing wrong here ?

Firstly, how do I get it to open the process silently.

Secondly, how do I get the process input / ouput ?

I tried reading from both the pipes but nothing works.

Any help ?

Framework brl.standardio
Import pub.freeprocess

Local temp_process:TProcess = CreateProcess("cmd.exe /c ~qipconfig~q")
Local temp_read:String

Print "started"
While temp_process.status()
	temp_read = temp_process.pipe.readline()
	Print "read = @"+temp_read+"@"
Wend
temp_process.close()
temp_process.terminate()
temp_process = Null
Print "ended"