Passing CTRL characters

Glen Bojsza gbojsza at gmail.com
Sun Dec 26 15:24:59 EST 2004


Hi Dar,

I have been successful in the past killing open processes...I think I
should have added the example of what I'm trying to do.

I open a cmd window and then do a ping 192.168.254.300  which
continually  runs until you use a ctrl-c. This keeps the openprocess
cmd available for other commands to be sent to it.

So for not having elaborating more on this originally.

Glen



On Sun, 26 Dec 2004 13:04:24 -0700, Dar Scott <dsc at swcp.com> wrote:
> 
> On Dec 26, 2004, at 6:14 AM, Glen Bojsza wrote:
> 
> > It is possible to send or pass ctrl-c to openProcess or cmd window on
> > Win XP?
> 
> You can close the pipe pair (close the process), or you can kill with
> the kill command.
> 
> I have a vague memory of the process lingering in open process after a
> close for a tiny bit, so you might want to wait before you kill it.
> 
> Long, long ago I was able to create a scenario in which a process did
> not quit after close.  I'm not sure if kill even worked from
> Revolution.
> 
> You can try to send numToChar(3) down the pipe to the process, but it
> seems to me that didn't work.  Maybe I'm wrong.  It's an easy
> experiment to try.  Maybe you have.
> 
> Dar
> **********************************************
>      DSC (Dar Scott Consulting & Dar's Lab)
>      http://www.swcp.com/dsc/
>      Programming Services and Software
> **********************************************
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>


More information about the use-livecode mailing list