gabrielsousa has asked for the wisdom of the Perl Monks concerning the following question:
my $pid; if (defined ($pid=fork)) { if (!$pid) { #system qq(curl -H "Content-Type: application/json" -X POST -d '$datac +url' http://192.168.125.169/index.php/itsqd/v1/nmessage); exec qq(curl -H "Content-Type: application/json" -X POST -d '$datacurl +' http://192.168.125.169/index.php/itsqd/v1/nmessage); } }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how do i run a shell command without waiting for the output
by shmem (Chancellor) on Apr 24, 2017 at 11:58 UTC | |
by afoken (Chancellor) on Apr 25, 2017 at 18:09 UTC | |
by shmem (Chancellor) on Apr 25, 2017 at 19:03 UTC | |
Re: how do i run a shell command without waiting for the output
by james28909 (Deacon) on Apr 24, 2017 at 18:04 UTC | |
by Anonymous Monk on Apr 24, 2017 at 22:55 UTC |