tomerfiliba / plumbum

Plumbum: Shell Combinators
https://plumbum.readthedocs.io
MIT License
2.8k stars 182 forks source link

Python doesnt stay open #686

Open Pixel-Minions opened 1 month ago

Pixel-Minions commented 1 month ago

Hi,

I am currently testing plumbum, amazing and simple but, when I try to run python, the python.exe in Windows, I know it runs but closes, it doesn't stay in interactive session. Why is this?

from plumbum import local
python = local["python"]
python()
AlexeyDmitriev commented 2 weeks ago

You can use local["python"].run_fg() so that python runs in interactive mode.