I have a Perl script that starts a batch script. The batch script downloads a live stream from the internet and creates a file on the server. The file then can be played by a device on the network. The line directly following the batch script sets the location of file so the device will be directed there to retrieve the file. How can I get the script to continue to the location line while the batch script is running? Code looks like:
Code:
use strict;
use warnings;
my $test_path= "http://xxx.xxx.x.x:8000/test/stream1.m3u8";
system("batch statment here &");
print "Location: $test_path";