How can I execute powershell from Jython.
This code runs w/o erro...but does nothing....
sCommand="test.ps1"
pipe = subprocess.Popen(['powershell.exe', '-NoProfile', '-Command', '"&{' + sCommand + '}"'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Thank you,
po