We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
collect stop a pystemd.run from raising exception
In [15]: pystemd.run( ...: ['/bin/false'], ...: stdin=sys.stdin, stdout=sys.stdout, ...: wait=True, pty=True, collect=False, ...: name='mys.service', raise_on_fail=True, ...: ) --------------------------------------------------------------------------- PystemdRunError Traceback (most recent call last) /home/aleivag/code/asg-lt/lt.py in <module> 3 stdin=sys.stdin, stdout=sys.stdout, 4 wait=True, pty=True, collect=False, ----> 5 name='mys.service', raise_on_fail=True, 6 )
while
In [18]: pystemd.run( ...: ['/bin/false'], ...: stdin=sys.stdin, stdout=sys.stdout, ...: wait=True, pty=True, collect=True, ...: name='mys.service', raise_on_fail=True, ...: ) Out[18]: <pystemd.systemd1.unit.Unit at 0x7f703479ddd0> In [19]:
and both should raise exception
The text was updated successfully, but these errors were encountered:
No branches or pull requests
collect stop a pystemd.run from raising exception
while
and both should raise exception
The text was updated successfully, but these errors were encountered: