fix(tools): enable search full command in find tunnel parent processes

main
Tsu-ba-me 1 year ago committed by digimer
parent 02f89b24b1
commit 1854cf4872
  1. 2
      tools/striker-manage-vnc-pipes

@ -209,7 +209,7 @@ sub find_tp_processes
$anvil->Log->variables({ source => $THIS_FILE, line => __LINE__, level => $debug, list => $parameters, prefix => "find_tp_processes" });
my $ps_call = "$pgrep -a '$ps_name' | $sed -En 's/^([[:digit:]]+).*--target[[:space:]]+([^[:space:]]+).*--ctl-path[[:space:]]+([^[:space:]]+).*--tunnel-ls-path[[:space:]]+([^[:space:]]+).*\$/\\1,\\2,\\3,\\4/p'";
my $ps_call = "$pgrep -af '$ps_name' | $sed -En 's/^([[:digit:]]+).*--target[[:space:]]+([^[:space:]]+).*--ctl-path[[:space:]]+([^[:space:]]+).*--tunnel-ls-path[[:space:]]+([^[:space:]]+).*\$/\\1,\\2,\\3,\\4/p'";
my ($rcode, $output) = call({ call => $ps_call, debug => $debug });

Loading…
Cancel
Save