Reputation: 608
I am new to php and i have a question: Is it possible to start a jar file from php?
Have you ever heard of a way to accomplish?
Thy only way i know is the
exec()
or
shell_exec()
function.
Upvotes: 0
Views: 375
Reputation: 38609
shell_exec
returns all of the output stream as a string.
exec
returns the last line of the output.
And duplicate of php shell_exec() vs exec()
Upvotes: 1