[IPython-dev] using magic_cd when on a network share gives error message

Jörgen Stenarson jorgen.stenarson at bostream.nu
Tue May 29 14:18:18 EDT 2007


On windows using magic_cd when current directory is on a network share 
gives an error message complaining about not being able to launch 
cmd.exe on a network share.

I tracked down the problem to the set_title command which makes a system
call via os.system.

I have attached a patch that just change directory to c: temporarily. 
There is also an example implementation using ctypes included that does
not need this workaround.

/Jörgen


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/applefile
Size: 1492 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20070529/3e11a0af/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: set_title_patch.diff
Type: application/octet-stream
Size: 801 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20070529/3e11a0af/attachment.obj>


More information about the IPython-dev mailing list