Skip to content

Commit

Permalink
Fixes ipythongh-1632; minimal revert of ipythongh-1424
Browse files Browse the repository at this point in the history
Win32 shell interactivity broke qtconsole cd magic
  • Loading branch information
Jonathan March committed Jun 11, 2012
1 parent 3584d4d commit 230c641
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions IPython/utils/_process_win32.py
Expand Up @@ -125,9 +125,13 @@ def system(cmd):
"""
# The controller provides interactivity with both
# stdin and stdout
import _process_win32_controller
_process_win32_controller.system(cmd)
#import _process_win32_controller
#_process_win32_controller.system(cmd)

with AvoidUNCPath() as path:
if path is not None:
cmd = '"pushd %s &&"%s' % (path, cmd)
return process_handler(cmd, _system_body)

def getoutput(cmd):
"""Return standard output of executing cmd in a shell.
Expand Down

0 comments on commit 230c641

Please sign in to comment.