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

Execute command with progress #83

Closed
guilt opened this issue Jan 15, 2017 · 3 comments
Closed

Execute command with progress #83

guilt opened this issue Jan 15, 2017 · 3 comments

Comments

@guilt
Copy link

guilt commented Jan 15, 2017

Set up a way to execute commands and monitor them.

e.g.:

progress -C "cp -a /media/cdrom/x /storage/c/"

will fork cp in the background, and monitor it on the stdin. This allows me to run the progress and cp in one tty only.

@Xfennec
Copy link
Owner

Xfennec commented Jan 16, 2017

The shell is probably better than us for this, I think:
cp -a /media/cdrom/x /storage/c/ & progress -mp $! (it's one of our example in the readme)

@guilt
Copy link
Author

guilt commented Jan 18, 2017

There are some quirky scenarios, such as usage by ssh, sudo where a single command works better. Hence requested.

@cheater
Copy link

cheater commented Mar 28, 2017

you can use bash -c 'cp -a /media/cdrom/x /storage/c/ & progress -mp $!' and that will give you just one command. I vote on closing this down as your use case is covered and implementing an alternative solution along your request would make this software much more complex, unnecessarily.

@guilt guilt closed this as completed Apr 30, 2019
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

3 participants