I'm using Artisan::call()
in one of my routes and would like to save the command output to a variable.
Is there any way to capture the STDOUT and STDERR generated by the artisan command?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…