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

Support running commands “under” cv #35

Closed
ortolot opened this issue Dec 9, 2014 · 2 comments
Closed

Support running commands “under” cv #35

ortolot opened this issue Dec 9, 2014 · 2 comments

Comments

@ortolot
Copy link

ortolot commented Dec 9, 2014

Hello,

I am highly interested in this software, which I would like to package for Debian as soon as I get some time (which, unfortunately, may only happen in some months…). Anyway, I thought about one possible way of using cv which could be useful:

$ cv COMMAND

For instance:

$ cv cp bigfile /tmp

That would be the same kind of usage than commands like nice for instance, and would imply for cv to fork; in the child, to exec() the command specified in its arguments, and in the parent, to monitor continuously its child.

@Xfennec
Copy link
Owner

Xfennec commented Dec 24, 2014

The shell can already do that when using -p argument. I've just added an example on the README.md page. (& cv -mp $!)

@Xfennec Xfennec closed this as completed Dec 24, 2014
@ortolot
Copy link
Author

ortolot commented Dec 24, 2014

Xfennec, 2014-12-24 05:19-0800:

The shell can already do that when using -p argument. I've just added an example on the README.md page. (& cv -mp $!)

Yes, the shell allows to do that, but it is not exactly equivalent. It
is certainly for shell users, but for scripting or other kind of
integration, it is not. This is good enough for me, but real support for
running a command under cv would be nice to have, so that may be a
future enhancement to keep in mind. But it is by no mean an actual
issue, for sure.

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

2 participants