##// END OF EJS Templates
crashhandler: Cast rptdir to Path (#14578)...
crashhandler: Cast rptdir to Path (#14578) Previously `self.app.ipython_dir` is a string, which makes `Path.is_dir(<object>)` fail. Note that the argument is `self` i.e. should be a `Path` instance. If `ipython_dir` is `None` then this code would just catch it in the `except:` branch, which makes it be set to `Path.cwd()` anyway.

File last commit:

r28782:9b49aad9
r28963:d7eebae4 merge
Show More
_process_emscripten.py
22 lines | 503 B | text/x-python | PythonLexer
/ IPython / utils / _process_emscripten.py
"""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"]