Hello,

Sorry if this is not the right place to raise the question.

I can get return result after run with PROGRAM call, then $result holds
the returned string, but with PROGRAM, I have to use the absolute path
of command.

And sometimes, the command may located in different path for different
distros, so it could cause portable issue. I guess "RUN{builtin}" could be
used to avoid the issue, however I can't figure out how to get the return
value of "RUN{builtin}".

Any advises would be very helpful.

Thanks,
Guoqing
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to