aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/utils/_process_emscripten.py
blob: 05dcdc34d5f4d063781d3584863c557a50717cb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""Emscripten-specific implementation of process utilities.

This file is only meant to be imported by process.py, not by end-users.
"""


from ._process_common import arg_split


def system(cmd):
    raise OSError("Not available")


def getoutput(cmd):
    raise OSError("Not available")


def check_pid(cmd):
    raise OSError("Not available")


# `arg_split` is still used by magics regardless of whether we are on a posix/windows/emscipten
__all__ = ["system", "getoutput", "check_pid", "arg_split"]