Laravel Queued Job doesn't wait for exec to coplete
问题 i have my queues set up and working (the jobs get run), however the script doesn't seem to wait for my exec line to run before progressing with the next line of code. This means i'm getting exceptions in the next few lines (because it's looking for a file that hasn't been produced yet) My closure is: Queue::push(function($job) use ($gid,$eid) { $phantomLoc = base_path()."/vendor/bin/phantomjs"; $scriptLoc = app_path()."/libraries/makeVideo.js"; $pageAddress = route('image_maker_video', array(