Hi,
I start a process on a unix machine from my VB6 app, using the WshShell with the .Exec command.
It starts a program on windows called 'plink' (from the PuTTY program to run unix commands) that then runs a script on the unix machine.
Now, I want to be able to send a CTRL-C to the script/plink.
I've tried:
excWSH.StdIn.Write "^C"
But it doesnt seem to do much.
Anyone know how to send a CTRL-C to a process that is started like this?
Thanks,
Rob.
ProIV Resource Centre
I start a process on a unix machine from my VB6 app, using the WshShell with the .Exec command.
It starts a program on windows called 'plink' (from the PuTTY program to run unix commands) that then runs a script on the unix machine.
Now, I want to be able to send a CTRL-C to the script/plink.
I've tried:
excWSH.StdIn.Write "^C"
But it doesnt seem to do much.
Anyone know how to send a CTRL-C to a process that is started like this?
Thanks,
Rob.
ProIV Resource Centre