Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 4
    The variable $PROC_CNTL_ID is not interpreted by bash because of the single quotes Commented May 4, 2024 at 19:30
  • You need to learn to debug better.  Apparently you tried two configurations: (1) command substitution with a variable parameter, and (2) plain, un-redirected execution with a constant parameter.  In other words, you changed two things.   When debugging, you should change only one thing at a time.  If you had tried plain, un-redirected execution with a variable parameter, you would have seen that the command substitution was not the problem. Commented May 4, 2024 at 22:18