mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:11:40 +03:00
tests: use exec when spawning nghttpx
This stops keeping perl and shell processes around that are no longer needed, plus it eliminates an unneeded shell message when the server is later terminated. Closes #13772
This commit is contained in:
parent
b3f23f2084
commit
548d169c9c
2 changed files with 2 additions and 2 deletions
|
|
@ -116,4 +116,4 @@ my $cmdline="$nghttpx --backend=$connect ".
|
|||
"--errorlog-file=$logfile ".
|
||||
"$keyfile $certfile";
|
||||
print "RUN: $cmdline\n" if($verbose);
|
||||
system("$cmdline 2>/dev/null");
|
||||
exec("exec $cmdline 2>/dev/null");
|
||||
|
|
|
|||
|
|
@ -116,4 +116,4 @@ my $cmdline="$nghttpx --http2-proxy --backend=$connect ".
|
|||
"--conf=$conf ".
|
||||
"$keyfile $certfile";
|
||||
print "RUN: $cmdline\n" if($verbose);
|
||||
system("$cmdline 2>/dev/null");
|
||||
exec("exec $cmdline 2>/dev/null");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue