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
asynchronous execution fails, when exectute a command and set asynchronous to True.
this bug is related to invoke framework, here is the open issue for that bug in pyinvoke repo pyinvoke/invoke#742
Steps to reproduce
>>> from jumpscale.core.executors import local
>>> local.execute(['sleep', '1'], asynchronous=True)
Traceback/Logs/Alerts
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/sameh/projects/js-ng/jumpscale/core/executors/command_builder.py", line 28, in inner
return func(cmd, *args, **kwargs)
File "/home/sameh/projects/js-ng/jumpscale/core/executors/local.py", line 160, in execute
return res.return_code, res.stdout, res.stderr
File "/home/sameh/projects/js-ng/.venv/lib/python3.8/site-packages/invoke/runners.py", line 1432, in return_code
return self.exited
AttributeError: 'Promise' object has no attribute 'exited'
The text was updated successfully, but these errors were encountered:
Description
asynchronous execution fails, when exectute a command and set asynchronous to True.
this bug is related to invoke framework, here is the open issue for that bug in pyinvoke repo
pyinvoke/invoke#742
Steps to reproduce
Traceback/Logs/Alerts
The text was updated successfully, but these errors were encountered: