Skip to content

Commit

Permalink
Reexport arg_split on emscripten. (ipython#14356)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau authored Feb 27, 2024
2 parents 6046a5f + 1238d86 commit 10da2eb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions IPython/utils/_process_emscripten.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"""


from ._process_common import arg_split


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

Expand All @@ -16,6 +19,5 @@ def check_pid(cmd):
raise OSError("Not available")


def arg_split(s, posix=False, strict=True):
"""This one could be made to work but it's not clear if it would be useful..."""
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"]

0 comments on commit 10da2eb

Please sign in to comment.