You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also use a shell shebang do bypass the problem.
In a normal Just recipe, each line is run in its own shell, so you can't refer to variables set in previous lines. Shebang recipes run the entire body through the selected interpreter. This should also work for you:
start_capture:
#!/bin/sh
tshark -i lo -f udp &echo$!> PATH.PID
Hello
Is it possible to run a process in background and get is pid ?
The following code fails :
Thank you
The text was updated successfully, but these errors were encountered: