diff --git a/twander.py b/twander.py index fde9d12..f5aa12d 100755 --- a/twander.py +++ b/twander.py @@ -4,7 +4,7 @@ # For Updates See: http://www.tundraware.com/Software/twander PROGNAME = "twander" -RCSID = "$Id: twander.py,v 1.92 2002/12/09 18:37:39 tundra Exp $" +RCSID = "$Id: twander.py,v 1.93 2002/12/09 20:08:16 tundra Exp $" VERSION = RCSID.split()[2] @@ -272,7 +272,7 @@ ##### uTable = [PROGNAME + " " + VERSION + " - Copyright 2002, TundraWare Inc., All Rights Reserved\n", - "usage: " + PROGNAME + " [-bcfhnsvwxy] [startdir] where,\n", + "usage: " + PROGNAME + " [-bcdfhnqrsvwxy] [startdir] where,\n", " startdir name of directory in which to begin (default: current dir)", " -b color background color (default: black)", " -c file name of configuration file (default: $HOME/." + PROGNAME + @@ -831,7 +831,10 @@ # Otherwise,actually execute the command else: - thread.start_new_thread(os.system, (cmd,)) + if OSNAME == 'win32': + thread.start_new_thread(os.system, (cmd,)) + else: + os.system(cmd) # end of 'KeystrokeHandler()'