login/register

Snip!t from collection of Alan Dix

see all channels for Alan Dix

Snip
summary

Code snippets:Running applications
From MDC
This page describes how to run other programs from your ...

Code snippets:Running applications - MDC
http://developer.mozilla.org/en/docs/Code_snippets:Running_applications

Categories

/Channels/techie/firefox

[ go to category ]

For Snip

loading snip actions ...

For Page

loading url actions ...

Code snippets:Running applications

From MDC


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>