Heterogeneity interpreter integration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 32: | Line 32: | ||
* [http://php.net/manual/en/function.set-time-limit.php PHP: set_time_limit - Manual] | * [http://php.net/manual/en/function.set-time-limit.php PHP: set_time_limit - Manual] | ||
* [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] | |||
[[Category:Programming]] [[Category:PHP]] [[Category:Python]] | [[Category:Programming]] [[Category:PHP]] [[Category:Python]] | ||
Revision as of 18:06, 7 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