Skip to content

Commit

Permalink
starting ipython without subprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Al-Saffar committed Nov 10, 2023
1 parent e9a0091 commit b9bba11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions myresources/crocodile/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ def build_parser():

else: # just run croshell.py interactively
res = f"{interpreter} {interactivity} --profile {get_ipython_profile(P.cwd())} --no-banner -m crocodile.croshell" # --term-title croshell
from IPython import start_ipython
start_ipython(argv=res.split(' ')[1:])
return
# Clear-Host;
# # --autocall 1 in order to enable shell-like behaviour: e.g.: P x is interpretred as P(x)

Expand Down

0 comments on commit b9bba11

Please sign in to comment.