Show More
@@ -1,21 +1,23 b'' | |||
|
1 | 1 | """Emscripten-specific implementation of process utilities. |
|
2 | 2 | |
|
3 | 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 | 10 | def system(cmd): |
|
8 | 11 | raise OSError("Not available") |
|
9 | 12 | |
|
10 | 13 | |
|
11 | 14 | def getoutput(cmd): |
|
12 | 15 | raise OSError("Not available") |
|
13 | 16 | |
|
14 | 17 | |
|
15 | 18 | def check_pid(cmd): |
|
16 | 19 | raise OSError("Not available") |
|
17 | 20 | |
|
18 | 21 | |
|
19 | def arg_split(s, posix=False, strict=True): | |
|
20 | """This one could be made to work but it's not clear if it would be useful...""" | |
|
21 | raise OSError("Not available") | |
|
22 | # `arg_split` is still used by magics regardless of whether we are on a posix/windows/emscipten | |
|
23 | __all__ = ["system", "getoutput", "check_pid", "arg_split"] |
General Comments 0
You need to be logged in to leave comments.
Login now