command promt error HelP!
im getting an error with my command box everytime i try and run a perl or python script it automatically closes the cmd is there a possibility that windows is doing this? the apps im running arent exactly considered "good" for the community running the standard cmd doesnt seem to affect it, only running the certain perl and python programs, any help/ideas would be much appreciated
Feralas wrote: I'm pretty sure that if your scripts don't require user interaction, that once they are done executing, they will close.
Lol, idiot.
@OP: Open the scripts from your command prompt instead of double clicking them.
Now I'm still a novice, but I've been working on learning Python, and I'm pretty sure Feralas might have a point. By adding a raw_input at the end of the program, it will 'pause' it until you hit enter, or anything else, giving you enough time to see what the program does.
Now I'm not condoning double clicking the icons (running them through the command prompt is far superior, in my opinion), I just was excited that I knew something and decided to share it. It's a fun fact, if you will.
Futility wrote: Now I'm still a novice, but I've been working on learning Python, and I'm pretty sure Feralas might have a point. By adding a raw_input at the end of the program, it will 'pause' it until you hit enter, or anything else, giving you enough time to see what the program does.
Now I'm not condoning double clicking the icons (running them through the command prompt is far superior, in my opinion), I just was excited that I knew something and decided to share it. It's a fun fact, if you will.
Heh. Bad habit is bad. Trust me, don't add a pause at the end of your programs.