-
-
Notifications
You must be signed in to change notification settings - Fork 760
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
General simplification #1566
General simplification #1566
Conversation
I see the following issue with Constant message in the info bar: |
I think all internal flows that invoke
|
Co-authored-by: KlzXS <klzx+github@klzx.cf> Co-authored-by: Arun Prakash Jana <engineerarun@gmail.com>
Thanks @KlzXS! |
@KlzXS I reverted this change and the changes I made on top of it. It appears concatenating the arguments don't work when the filename has spaces in it due to the usual shell quirks. |
Please re-raise if you find a way around it. |
I guess it's best to forego using I also had thoughts of implementing a new variant of |
I agree!
We had problems and breaks with such experiments earlier. I think spawn() is good for now. |
Sure. I'll do it the old way. I might submit my experiment at a later date. Might. |
👍 |
@KlzXS You may want to take a look at |
get_output()
:UTIL_SH_EXEC
to execute the command.multi
as it's no longer needed.cmd
andfd
as they are no longer needed. Correct me if I'm wrong, butfd
wasn't ever used and there is a path to callfree(cmd)
while it'sNULL
(multi == FALSE
andpipe()
failing).g_buf
is now clobbered only in some cases. Not that it would matter much, I imagine.@jarun I still need to look into using
UTIL_SH_EXEC
for running GUI apps as plugins as you suggested, but I thought I should share this regardless.I only tried the simple case of setting
NNN_HELP
and opening the help screen. I might do more extensive testing later, or if someone wants to give it a shot as well that would be great.