[Gambas-user] Writing (or Printing) data to a process

easuter easuter at ...626...
Tue May 1 02:30:15 CEST 2007


Hi there!

I'm a relatively novice gambas user, but I'm learning fast ;)
I'm running Gambas2 1.9.47

My problem is a s follows: I need to be able to send a string to a virtual
terminal created by the following EXEC:

DIM hProc AS Process

EXEC [ "command", "-args"] FOR INPUT OUTPUT AS "hProc"

PRINT #hProc, TextBox1.Text

However, when I run my app the IDE spits out this error:

Null Object

and then jumps onto the PRINT line.

What am I missing here?
I can't find examples of writing data to a process in the gambas docs, only
reading from a process is there.

Thanks in advance!

Eugéne
-- 
View this message in context: http://www.nabble.com/Writing-%28or-Printing%29-data-to-a-process-tf3672829.html#a10262959
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list