[Chicago-talk] system command to kill Xwindows session?

Alexander Danel danel at speakeasy.net
Sun Mar 7 07:54:07 PST 2010

Your question is incoherent; obviously if you are looking for a system
command, then its not a Perl function.

How did you start the process that opened the window, and are you willing to
kill the entire process?  

On Unix, if you know the process-id, then try:

	system("kill TERM $thePid");


-----Original Message-----
From: chicago-talk-bounces+danel=speakeasy.net at pm.org
[mailto:chicago-talk-bounces+danel=speakeasy.net at pm.org] On Behalf Of
Richard Reina
Sent: Sunday, March 07, 2010 9:18 AM
To: chicago-talk at pm.org
Subject: [Chicago-talk] system command to kill Xwindows session?

Does anyone know if there is a perl fucntion or a command that can be put
into system("") that will kill Xwindow and return a script/user to the


Chicago-talk mailing list
Chicago-talk at pm.org

More information about the Chicago-talk mailing list