Heterogeneity interpreter integration: Difference between revisions

From LemonWiki共筆
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 timeout/crash
** 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''
* [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.


[[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
    • Run the script from web browser: timeout[1]/crash
    • Run the script from command line: length limit[2]
  • 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

Related articles

  1. Browser Timeouts - Stack Overflow
  2. Command prompt (Cmd. exe) command-line string limitation when error message 'The command line is too long.' met on windows.