Expand/Shrink

system_open

Definition: system_open(string filename)
Description: Opens a file in the same manner as would happen were it double-clicked in the standard file manager (such as Windows Explorer or Ubuntu nautilus).
pwa/p2js: Not supported.
Comments: On Windows this invokes ShellExecute() with the "open" verb, whereas on Linux it invokes system("xdg_open "&filename).

Note this routine has no known equivalent on Euphoria, though creating a compatible routine should be perfectly feasible.

There is no indication of success or failure, or any other result code.
Example 1:
system_open("into_the_light.mp3")
Implementation: See builtins\syswait.ew (an autoinclude) for details of the actual implementation.
See Also: system, system_exec, getenv