##// END OF EJS Templates
Reexport arg_split on emscripten. (#14356)...
M Bussonnier -
r28681:10da2ebf merge
parent child Browse files
Show More
@@ -1,21 +1,23 b''
1 """Emscripten-specific implementation of process utilities.
1 """Emscripten-specific implementation of process utilities.
2
2
3 This file is only meant to be imported by process.py, not by end-users.
3 This file is only meant to be imported by process.py, not by end-users.
4 """
4 """
5
5
6
6
7 from ._process_common import arg_split
8
9
7 def system(cmd):
10 def system(cmd):
8 raise OSError("Not available")
11 raise OSError("Not available")
9
12
10
13
11 def getoutput(cmd):
14 def getoutput(cmd):
12 raise OSError("Not available")
15 raise OSError("Not available")
13
16
14
17
15 def check_pid(cmd):
18 def check_pid(cmd):
16 raise OSError("Not available")
19 raise OSError("Not available")
17
20
18
21
19 def arg_split(s, posix=False, strict=True):
22 # `arg_split` is still used by magics regardless of whether we are on a posix/windows/emscipten
20 """This one could be made to work but it's not clear if it would be useful..."""
23 __all__ = ["system", "getoutput", "check_pid", "arg_split"]
21 raise OSError("Not available")
General Comments 0
You need to be logged in to leave comments. Login now