atom-python-run icon indicating copy to clipboard operation
atom-python-run copied to clipboard

Terminal crashes when I do F5

Open ghost opened this issue 6 years ago • 0 comments

Issue

The issue is that when I do F5, terminal opens and crashes, i run the default command that runs when you hit F5 (In my case: python C:\Users\Public\Bot\Bot_Tests.py) on cmd and prints python: can't open file 'C:\Users\Public\Bot\Bot_Tests.py': [Errno 2] No such file or directory

What can i do?

Console Log

f5 pressed
C:\Users\Private\.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\Private\.atom\packages\atom-python-run\lib\..\cp\main.py
command: tell app "Terminal" to do script " python C:\Users\Public\GeoBot\Bot_Tests.py"
C:\Users\Private\.atom\packages\atom-python-run\lib\terminal.js:232 pause: true
pipeFile: false
pipePath: 
log: true
args: python,C:\Users\Public\GeoBot\Bot_Tests.py
options: {
    "cwd": "C:\\Users\\Public\\GeoBot",
    "detached": true
}
C:\Users\Private\.atom\packages\atom-python-run\lib\terminal.js:247 stderr: The system cannot find the path specified.

C:\Users\Private\.atom\packages\atom-python-run\lib\terminal.js:250 child process exited with code 1

ghost avatar Sep 10 '19 19:09 ghost