Skip to content

Terminal instantly exits when running a file #115

Open

Description

@johnharmon

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

Activity

  1. foreshadow commented on Jun 26, 2019

    @foreshadow
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions