-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
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
RemoteCommands and nohup #261
Comments
So does the following new version work? It should, from a cursory glance: def nohup(self, cwd='.', stdout='nohup.out', stderr=None, append=True):
"""Runs a command detached."""
return self.machine.daemonic_popen(self, cwd, stdout, stderr, append) Since there is no way the current version is right, I pushed this change, can you test it? |
Assuming fixed. |
Doesn't the method https://github.com/tomerfiliba/plumbum/blob/master/plumbum/commands/base.py#L139 |
I'll just invoke the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As far as I can tell attempting to run a command remotely via nohup is broken.
ex:
plumbum/machines/remote.py
The referenced machine in nohup would need to be self.machine. However even with that change there seems to be the issue that SshMachine.nohup takes in completly different parameters and seems to getting deprecated. ex:
plumbum/machines/ssh_machine.py
Remote nohup should then perhaps be calling
daemonic_popen
of machine with proper parameters.The text was updated successfully, but these errors were encountered: