python3 /mnt/c/Users/egeme/Desktop/VSC_study/deneme.py
I run this on my WSL. it works fine but after displaying desired brain image, image is disappearing as it comes. No error code or something to fix. Does someone why is this happening
Ubuntu 22.04
FreeSurfer is installed (7.4)
richard
(Richard Höchenberger)
March 19, 2024, 6:36am
2
Hello, this posting may solve your issue:
The answer @richard linked to may be a bit confusing since it’s not clear that you’re using PyCharm (as that asker was). The gist of the answer is the same though: Python can run in two ways: interactive and non-interactive mode. From the command line, this is controlled by the -i flag:
$ python myscript.py # non-interactive
$ python -i myscript.py # interactive
in interactive mode, when the end of the script is reached, the python interpreter stays open and lets you enter additional comm…
Best wishes,
Richard
system
(system)
Closed
March 26, 2024, 1:49pm
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.