Hi All.
I want to get the process for an application running.
If I execute “pgrep” from a terminal program, it returns fine, but I have no idea how to get that variable into my program.
I have tried a method and a shared method, but neither seems to work.
Any ideas?
Regards
What is your code? Capturing the result of a shell command isn’t that complicated. There are lots of examples here in the forum.
Hi Beatrix.
You were right. It isn’t hard. But I couldn’t find the right phrase to search on.
As soon as you put “result of a shell command” everything clicked.

Thank you.
Regards
1 Like