_process_emscripten.py
22 lines
| 503 B
| text/x-python
|
PythonLexer
Matthias Koeppe
|
r28613 | """Emscripten-specific implementation of process utilities. | ||
This file is only meant to be imported by process.py, not by end-users. | ||||
""" | ||||
Matthias Bussonnier
|
r28677 | from ._process_common import arg_split | ||
Hood Chatham
|
r28611 | def system(cmd): | ||
raise OSError("Not available") | ||||
Matthias Koeppe
|
r28614 | |||
Hood Chatham
|
r28611 | def getoutput(cmd): | ||
raise OSError("Not available") | ||||
Matthias Koeppe
|
r28614 | |||
Hood Chatham
|
r28611 | def check_pid(cmd): | ||
raise OSError("Not available") | ||||
Matthias Koeppe
|
r28614 | |||
Matthias Bussonnier
|
r28677 | # `arg_split` is still used by magics regardless of whether we are on a posix/windows/emscipten | ||
__all__ = ["system", "getoutput", "check_pid", "arg_split"] | ||||