| 1 |
"""Emscripten-specific implementation of process utilities. |
| 2 |
|
| 3 |
This file is only meant to be imported by process.py, not by end-users. |
| 4 |
""" |
| 5 |
|
| 6 |
from ._process_common import arg_split |
| 7 |
|
| 8 |
|
| 9 |
def system(cmd): |
| 10 |
raise OSError("Not available") |
| 11 |
|
| 12 |
|
| 13 |
def getoutput(cmd): |
| 14 |
raise OSError("Not available") |
| 15 |
|
| 16 |
|
| 17 |
def check_pid(cmd): |
| 18 |
raise OSError("Not available") |
| 19 |
|
| 20 |
|
| 21 |
# `arg_split` is still used by magics regardless of whether we are on a posix/windows/emscipten |
| 22 |
__all__ = ["system", "getoutput", "check_pid", "arg_split"] |