-
Notifications
You must be signed in to change notification settings - Fork 24
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
$PID variable in helpers #21
Comments
Sure, we can definitely have this feature, but I would rather |
{PID} is good as well. |
Hmm, what about when application has more instances (processes) ? Probably just print that kill helper for every instance?
or maybe (i like it better)
Its probably fine, but in default view
it doesn't look so friendly. But so far I don't know how to deal with it. |
You can concate it:
|
Hmm, but thinking about it... this can be done only if the helper string is identical. Because I can imagine helper script Anyway the functionality and usability is much more important. Visual style is less important. |
As you said, concating can't work for every command, so I would prefer this kind of output:
and one-liner with semicolons for default view. I agree that this feature is very important, so I will surely implement it. However I think it could look better than
so I will give it a thought, |
Hmm, probably I will just print commented application's name after restart commands which use any Output will look like
for this kind of helpers. Also I think it will avoid printing comment for most helpers which tells name of the application by themselves. Advantage of this is clear - you can see what application will be killed, but still you can copy and paste the block of printed helpers. |
I have process:
Which can be easily killed and does not need to be restarted again, it would be nice if I can write rule:
where $PID would be substituted by real PID before printing.
The text was updated successfully, but these errors were encountered: