Run PHP script from Java and capture the output -
i need run php script java class , output of script in order notify end user of results. use runtime.getruntime.exec("php "); in order execute php script, how capture console output?
any suggestions?
the output of process can found using getinputstream
on returned process
exec
call.
Comments
Post a Comment