Show More
@@ -2085,6 +2085,7 class InteractiveShell(SingletonConfigurable, Magic): | |||
|
2085 | 2085 | cmd = py3compat.unicode_to_str(cmd) |
|
2086 | 2086 | ec = os.system(cmd) |
|
2087 | 2087 | else: |
|
2088 | cmd = py3compat.unicode_to_str(cmd) | |
|
2088 | 2089 | ec = os.system(cmd) |
|
2089 | 2090 | |
|
2090 | 2091 | # We explicitly do NOT return the subprocess status code, because |
@@ -220,3 +220,11 class TestSafeExecfileNonAsciiPath(unittest.TestCase): | |||
|
220 | 220 | """Test safe_execfile with non-ascii path |
|
221 | 221 | """ |
|
222 | 222 | _ip.shell.safe_execfile(self.fname, {}, raise_exceptions=True) |
|
223 | ||
|
224 | ||
|
225 | class TestSystemRaw(unittest.TestCase): | |
|
226 | def test_1(self): | |
|
227 | """Test system_raw with non-ascii cmd | |
|
228 | """ | |
|
229 | cmd = ur'''python -c "u'åäö'" ''' | |
|
230 | _ip.shell.system_raw(cmd) |
General Comments 0
You need to be logged in to leave comments.
Login now