Heterogeneity interpreter integration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
Unexpected conditions / errors | Unexpected conditions / errors | ||
* Entry point | * Entry point | ||
** Browser | ** Run the script from web browser: timeout<ref>[https://stackoverflow.com/questions/5798707/browser-timeouts Browser Timeouts - Stack Overflow]</ref>/crash | ||
** Run the script from command line: length limit<ref>[https://support.microsoft.com/en-us/help/830473/command-prompt-cmd--exe-command-line-string-limitation Command prompt (Cmd. exe) command-line string limitation] when error message 'The command line is too long.' met on windows.</ref> | |||
* Interpreter level | * Interpreter level | ||
** First interpreter timeout/crash: e.g. First interpreter (.PHP) is timeout but second interpreter (.PY) is still running. | ** First interpreter timeout/crash: e.g. First interpreter (.PHP) is timeout but second interpreter (.PY) is still running. | ||
| Line 21: | Line 22: | ||
Related articles | Related articles | ||
* [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'' | ||
[[Category:Programming]] [[Category:PHP]] [[Category:Python]] | [[Category:Programming]] [[Category:PHP]] [[Category:Python]] | ||
Revision as of 01:00, 5 January 2018
Considerations of multi-languages Interpreter integration
Input / Output
- ill-formed input and output
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
- System level
- e.g. memory error caused by second interpreter
- API level
References
- How to properly call Python 3 script from PHP? - Stack Overflow
- Integrating PHP and R | R-bloggers [Last visited: 2017-12-18]
- PHP: set_time_limit - Manual
Related articles
- Run Python script from php, save process pid, and don't wait it to finish - Stack Overflow un-verified
- ↑ Browser Timeouts - Stack Overflow
- ↑ Command prompt (Cmd. exe) command-line string limitation when error message 'The command line is too long.' met on windows.