_process_emscripten.py 503 B

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