Is there a way to send and alt-f4 to process

I am using:
Win32::Process::Create($processObjHost, $appName, $opt, 0,
NORMAL_PRIORITY_CLASS | CREATE_NEW_CONSOLE |
CREATE_NEW_PROCESS_GROUP , '.');

To log into a server and I want to exit out of the session when I am
done. I can use the method: $processObjHost->Kill(0) to kill the
application that came up, but the server still sees the session open.
Is there a way to send 'alt-f4' instead of just killing the app?

Thanks,
zim
joez3 [ Fr, 11 Januar 2008 20:19 ] [ ID #1905786 ]
Perl » comp.lang.perl.misc » Is there a way to send and alt-f4 to process

Vorheriges Thema: FAQ 8.28 How can I call backticks without shell processing?
Nächstes Thema: syswrite "Bad file descriptor" after successfully writing to that