I can use CMD to execute two commands at the same time using:
command1 | command2
In PHP, I assumed it should work, but it doesn't:
Shell_exec("command1 | command2 ");
How do I fix it?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…