0

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.

2

1 Answer 1

1

shell_exec returns all of the output stream as a string.

shell_exec()

exec returns the last line of the output.

exec()

And duplicate of php shell_exec() vs exec()

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.