##// END OF EJS Templates
IPython/utils/_process_emscripten.py: New
Hood Chatham -
Show More
@@ -0,0 +1,12 b''
1 def system(cmd):
2 raise OSError("Not available")
3
4 def getoutput(cmd):
5 raise OSError("Not available")
6
7 def check_pid(cmd):
8 raise OSError("Not available")
9
10 def arg_split(s, posix=False, strict=True):
11 """This one could be made to work but it's not clear if it would be useful..."""
12 raise OSError("Not available")
@@ -15,6 +15,8 b" if sys.platform == 'win32':"
15 from ._process_win32 import system, getoutput, arg_split, check_pid
15 from ._process_win32 import system, getoutput, arg_split, check_pid
16 elif sys.platform == 'cli':
16 elif sys.platform == 'cli':
17 from ._process_cli import system, getoutput, arg_split, check_pid
17 from ._process_cli import system, getoutput, arg_split, check_pid
18 elif sys.platform == "emscripten":
19 from ._process_emscripten import system, getoutput, arg_split, check_pid
18 else:
20 else:
19 from ._process_posix import system, getoutput, arg_split, check_pid
21 from ._process_posix import system, getoutput, arg_split, check_pid
20
22
General Comments 0
You need to be logged in to leave comments. Login now