Jump to content

when i try to luanch powrshell it just opens then cloes really fast.

how does fix

 

heres is a cat for your troubles

post-133094-0-43860000-1432584117.jpg

sailing is life

a man cannot survive on only bread, he must have peanut butter\

cpu-fx6300 (4.4 GHz) Ram- rip-jaws x 4x2 oc 2133 Drives- 2tb Toshiba, 1tb WD blue, 128gb crucial SSD GPU- r9 270( hopefully upgraded soon) MOBO- gigabyte thing Case - raidmax viper gx 

Link to comment
https://linustechtips.com/topic/373671-powershell-problems/
Share on other sites

Link to post
Share on other sites

no just trying to open it so i can start learning python

sailing is life

a man cannot survive on only bread, he must have peanut butter\

cpu-fx6300 (4.4 GHz) Ram- rip-jaws x 4x2 oc 2133 Drives- 2tb Toshiba, 1tb WD blue, 128gb crucial SSD GPU- r9 270( hopefully upgraded soon) MOBO- gigabyte thing Case - raidmax viper gx 

Link to comment
https://linustechtips.com/topic/373671-powershell-problems/#findComment-5054826
Share on other sites

Link to post
Share on other sites

much like a cmd prompt, if you run a batch script without a pause at the end of it, it will just close the window when the script has completed. try throwing a pause command on the last line of your script, or do your dev/testing in the ISE (which should be found in C:\Windows\System32\WindowsPowerShell\).

Link to comment
https://linustechtips.com/topic/373671-powershell-problems/#findComment-5056350
Share on other sites

Link to post
Share on other sites

no just trying to open it so i can start learning python

You don't use python in powershell, you use powershell. Which is more like C#.NET (it basically is a heavily CLI optimised GUI stripped version of C#.NET). 

 

Sounds like you might be trying to run a python cmd inside of powershell, you would need to import the relevant modules/packages (if there are any).

Link to comment
https://linustechtips.com/topic/373671-powershell-problems/#findComment-5056365
Share on other sites

Link to post
Share on other sites

You don't use python in powershell, you use powershell. Which is more like C#.NET (it basically is a heavily CLI optimised GUI stripped version of C#.NET). 

 

Sounds like you might be trying to run a python cmd inside of powershell, you would need to import the relevant modules/packages (if there are any).

 

If Python is in his $PATH, he can certainly use python in powershell's IDE/GUI.

--Neil Hanlon

Operations Engineer

Link to comment
https://linustechtips.com/topic/373671-powershell-problems/#findComment-5059920
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×