Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal instantly exits when running a file #115

Open
johnharmon opened this issue May 31, 2019 · 1 comment
Open

Terminal instantly exits when running a file #115

johnharmon opened this issue May 31, 2019 · 1 comment

Comments

@johnharmon
Copy link

I'm trying to run atom from a flash drive and have everything installed and working except for this package. Whenever I try to run a simple "hello world" file the terminal opens and instantly exits before I can even read anything. I've manually run the file from the cmd line and it works fine.
This is the output from the console:

f5 pressed
C:\Users\John.Harmon.atom\packages\atom-python-run\lib\terminal.js:221 platform: win32
shell: C:\Windows\system32\cmd.exe
option: /c,start
call: python
script: C:\Users\John.Harmon.atom\packages\atom-python-run\lib..\cp\main.py
command: tell app "Terminal" to do script " python E:\python_scripts\first.py"
C:\Users\John.Harmon.atom\packages\atom-python-run\lib\terminal.js:232 pause: true
pipeFile: true
pipePath: test.txt
log: true
args: python,E:\python_scripts\first.py
options: {
"cwd": "E:\python_scripts",
"detached": true
}
C:\Users\John.Harmon.atom\packages\atom-python-run\lib\terminal.js:250 child process exited with code 0

@foreshadow
Copy link
Owner

You seemed to have enabled Pipe to file option. Check the file test.txt, or set that to empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants