[Gambas-user] Sending special characters to a process

Benoit Minisini gambas at ...1...
Fri Aug 13 19:19:57 CEST 2004


On Friday 13 August 2004 19:19, Daniel Campos wrote:
> 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

PRINT #hProc, Chr$(4)

does not work ?

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list