REPOST: Tkinter gui for the winnt subst command

yuval yuvale at
Sun Dec 30 17:00:54 CET 2001

I need to map and remap (cmd.exe subst ...) certain 
directories on my computer very often. Therefore I wrote a 
Tkinter gui which upon button press performs essentially
cmd.exe /c subst ... with various arguments.
I tried several approaches (os.popen, os.system,spawnv) for 
running the command. Unfortunately with all these approaches 
it takes the command a very, very long time (~30 seconds) to complete.
I am running Python 2.1. Does anybody know where the 
problem lies and how to solve it?

========= WAS CANCELLED BY =======:
From: yuvale at (yuval)
Newsgroups: comp.lang.python
Subject: cmsg cancel <11f1fe5.0112300800.680cb872 at>
Control: cancel <11f1fe5.0112300800.680cb872 at>
Date: Mon, 31 Dec 2001 04:59:53 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.11f1fe5.0112300800.680cb872 at>
X-Trace: 1009774196 27193 (31 Dec 2001 04:49:56 GMT)
X-Complaints-To: usenet at
NNTP-Posting-Date: Mon, 31 Dec 2001 04:49:56 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)

This message was cancelled from within Mozilla.

More information about the Python-list mailing list