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
Hangs on sudo prompt, prompt is not shown to user.
Two ways to fix:
either require user to type password: hard to wait for a prompt with the current implementation so might need to pass it secator u install --password <password>
change command fabric to something more involved like 'invoke':
frominvoke.runnersimportLocalfrominvoke.contextimportContextcontext=Context()
runner=Local(context)
runner.start(cmd) # will prompt user for password if sudo is requiredwhilerunner.process.stdout.readline():
# same processing as normal
The text was updated successfully, but these errors were encountered:
Hangs on
sudo
prompt, prompt is not shown to user.Two ways to fix:
secator u install --password <password>
The text was updated successfully, but these errors were encountered: