getting input from another program

BlitzMax Forums/BlitzMax Programming/getting input from another program

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.

Method ReadLine$() 'nonblocking - returns empty string if no data available

yourString = pipe.ReadLine$()

send your command first via pipe.WriteLine and get the result with pipe.ReadLine

imagine it that your pipe has two tubes, one pointing to stdin and one to stdout