You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I am trying to make a windows deploy and i am having a strange problem.
I am running a command without pyinfra to the remote host for example ssh [email protected] 'sc stop "service"' and it is working correctly.
When i am trying to do the same thing with pyinfra and server.shell, the task is hanging forever.
After i enabled -vv i show that pyinfra tries to execute the command with cmd -c 'sc stop "service"' and yes that it does not work.
I tried to change the shell executable to powershell but still it does not working
Any ideas how this could work ?
Thanks in advanced
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I am trying to make a windows deploy and i am having a strange problem.
I am running a command without pyinfra to the remote host for example ssh [email protected] 'sc stop "service"' and it is working correctly.
When i am trying to do the same thing with pyinfra and server.shell, the task is hanging forever.
After i enabled -vv i show that pyinfra tries to execute the command with cmd -c 'sc stop "service"' and yes that it does not work.
I tried to change the shell executable to powershell but still it does not working
Any ideas how this could work ?
Thanks in advanced
Beta Was this translation helpful? Give feedback.
All reactions