Skip to content
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

How to know when a process executed by sshpass finishes #14

Open
okashany opened this issue Jun 8, 2023 · 0 comments
Open

How to know when a process executed by sshpass finishes #14

okashany opened this issue Jun 8, 2023 · 0 comments

Comments

@okashany
Copy link

okashany commented Jun 8, 2023

I'm currently using fork and execvpe in order to run the following command:
"sshpass -e scp -v -y ".

Is there a way to know when scp finishes to transfer the file?
When I'm using waitpid, I believe it waits for sshpass to complete and
does not indicate the completion of the transfer.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant