Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any
New issue 514 by uale...@gmail.com: Exec crashes Gambas if file is not executable http://code.google.com/p/gambas/issues/detail?id=514 1) Describe the problem. The Gambas "Exec" can execute external processes, but if the external file exist but is NOT executable, it crashes Gambas with the following error: ERROR: #68: Cannot run child process: cannot run executable: Permission denied The "Try" and "Catch" don't work in this scenario. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.5.2 Revision: N/A Operating system: Linux Distribution: Ubuntu Architecture: x86_64 GUI component: GTK+ Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. Extremely easy, just do a touch like: touch /var/tmp/x11.sh $ ls -l /var/tmp/x11.sh -rw-rw-r-- 1 gambas gambas 0 mrt 1 16:40 /var/tmp/x11.sh Execute the following Gambas code: Try Exec ["/var/tmp/x11.sh"] 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: If you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! ANOTHER NOTE: Don't create an issue if you have a compilation problem on the development version. Send a mail to the mailing-list instead, thanks. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user