Heterogeneity interpreter integration: Difference between revisions
Jump to navigation
Jump to search
| Line 33: | Line 33: | ||
* [https://stackoverflow.com/questions/27863484/run-python-script-from-php-save-process-pid-and-dont-wait-it-to-finish Run Python script from php, save process pid, and don't wait it to finish - Stack Overflow] ''un-verified'' | * [https://stackoverflow.com/questions/27863484/run-python-script-from-php-save-process-pid-and-dont-wait-it-to-finish Run Python script from php, save process pid, and don't wait it to finish - Stack Overflow] ''un-verified'' | ||
* [https://stackoverflow.com/questions/1881582/whats-the-difference-between-escapeshellarg-and-escapeshellcmd php - What's the difference between escapeshellarg and escapeshellcmd? - Stack Overflow] | * [https://stackoverflow.com/questions/1881582/whats-the-difference-between-escapeshellarg-and-escapeshellcmd php - What's the difference between escapeshellarg and escapeshellcmd? - Stack Overflow] | ||
* [https://errerrors.blogspot.com/2018/08/run-java-jar-from-php.html 如果透過 PHP 網站呼叫 Java JAR 執行結果] | |||
[[Category:Programming]] [[Category:PHP]] [[Category:Python]] | [[Category:Programming]] [[Category:PHP]] [[Category:Python]] | ||
Revision as of 12:22, 13 August 2018
Considerations of multi-languages Interpreter integration
Input / Output
- ill-formed input and output
Process
- Print the percentage of data processing
Unexpected conditions / errors
- Entry point
- Interpreter level
- First interpreter timeout/crash: e.g. First interpreter (.PHP) is timeout but second interpreter (.PY) is still running.
- Second interpreter timeout/crash
- Process management: Monitor and recycle the process
- System level
- e.g. memory error caused by second interpreter
- API level
References
- ↑ Browser Timeouts - Stack Overflow
- ↑ Command prompt (Cmd. exe) command-line string limitation when error message 'The command line is too long.' met on windows.
- ↑ mac osx - What is the maximum length of a command line in Mac OS X? - Server Fault
Related articles
- How to properly call Python 3 script from PHP? - Stack Overflow
- Passing value from PHP script to Python script - Stack Overflow
- Integrating PHP and R | R-bloggers [Last visited: 2017-12-18]
- PHP: set_time_limit - Manual
- Run Python script from php, save process pid, and don't wait it to finish - Stack Overflow un-verified
- php - What's the difference between escapeshellarg and escapeshellcmd? - Stack Overflow
- 如果透過 PHP 網站呼叫 Java JAR 執行結果