[Gambas-user] Sending special characters to a process

Daniel Campos danielcampos at ...282...
Fri Aug 13 19:19:38 CEST 2004


Hi!

Is there any way I can send Ctrl+D to a process? 

I execute a process "FOR WRITE", and I send it a list of values:

Print #hProc, "10","12"
Print #hProc, "12","14"
Print #hProc, "13","16"
...


But as the process is reading these values from stdin, it needs a 
CTRL+D (like EOF), to know that the "file" is finished and it can start
the second part of the work.

Ive tried sending some scape characters, but nothing seems to work...

Regards,

Daniel Campos
 

-- 
Daniel Campos <danielcampos at ...282...>





More information about the User mailing list