Snip
|
Code snippets:Running applications
|
---|
Categories |
|
---|
For Snip |
loading snip actions ... |
---|---|
For Page |
loading url actions ... |
This page describes how to run other programs from your chrome JavaScript code, using Mozilla XPCOM interfaces. There are two ways to run programs. The first is to use nsILocalFile:launch
method, the second is to use nsIProcess
interface.
HTML |
<h1 class="firstHeading">Code snippets:Running applications</h1> <h3 id="siteSub">From MDC</h3> <div id="contentSub"></div> <p><br> This page describes how to run other programs from your chrome JavaScript code, using Mozilla XPCOM interfaces. There are two ways to run programs. The first is to use <code><a href="/en/docs/nsILocalFile:launch" title="nsILocalFile:launch">nsILocalFile:launch</a></code> method, the second is to use <code><a href="/en/docs/nsIProcess" title="nsIProcess">nsIProcess</a></code> interface.</p> |
---|