Atom terminal


#1

Hi,everyone!Recently l intalled package called “python-run-terminalnx”.I had it before i installed atom again and it worked,but when i click F5(you need to click f5 to run terminalnx) this message pops up on the screen:


#2

Is there a specific reason why you are using python-run-terminalnx? It hasn’t been updated in some time and looking at the package code I’m not sure it’s worth debugging it and potentially having to patch it if this turns out to be a bug. If you’re just looking to run code in a cmd window, you can do that with process-palette. Just configure a new command like this:

(Edit: The first version of this post had the wrong syntax for the Windows CLI switch. I’ve updated it to the correct syntax, so that newcomers don’t have to go searching to find the correct answer.)

Then scroll down and tell it to output to nothing. This will prevent the package from creating a blank panel.


How to Run python code in Atom?
#3

Thanks for responding me DamnedScholar!Yes, l use “python-run-terminalnx” because it runs a program in cmd window.lts like running a program in qbasic.l will try “process-palette”

Thank you


#4

Hi,everyone!l have installed process-palette in my atom.But there is a problem.When l start typing in cmd nothing appears.Here is photo: (l am typing some words on my keyboard but nothing happens,nothing appears)


#5

Mind showing me a screenshot of your command configuration?


#6

D’oh! I just realized that I made a bad mistake considering that I use Windows. In the configuration I posted, I had \k as the switch, but the syntax is /k. This is correct:


#7

Hi DamnedScholar!l tried it but l have the same problem.Here is screenshot:


#8

This is what happens when I run it.

Did you put a new line before {fileAbsPath}? You can’t have a newline character in the middle of a command string. The command on my screen just wraps onto the next line because my window is smaller.


#9

Hi DamnedScholar!Thank you for support!


#10

Did it work?


#11

Yes, thank you for support!


#12

No problem. :slight_smile: