<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../../../../doc/otp_doc.css" type="text/css"> <title>Erlang -- start_webtool</title> </head> <body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000"><div id="container"> <script id="js" type="text/javascript" language="JavaScript" src="../../../../doc/js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../../../../doc/js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript"> <!-- function getWinHeight() { var myHeight = 0; if( typeof( window.innerHeight ) == 'number' ) { //Non-IE myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myHeight = document.body.clientHeight; } return myHeight; } function setscrollpos() { var objf=document.getElementById('loadscrollpos'); document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2; } function addEvent(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, true); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } } addEvent(window, 'load', setscrollpos); //--></script><div id="leftnav"><div class="innertube"> <img alt="Erlang logo" src="../../../../doc/erlang-logo.png"><br><small><a href="users_guide.html">User's Guide</a><br><a href="index.html">Reference Manual</a><br><a href="release_notes.html">Release Notes</a><br><a href="../pdf/webtool-0.8.6.pdf">PDF</a><br><a href="../../../../doc/index.html">Top</a></small><p><strong>WebTool</strong><br><strong>Reference Manual</strong><br><small>Version 0.8.6</small></p> <br><a href="javascript:openAllFlips()">Expand All</a><br><a href="javascript:closeAllFlips()">Contract All</a><p><small><strong>Table of Contents</strong></small></p> <ul class="flipMenu"> <li id="no" title="webtool " expanded="false">webtool<ul> <li><a href="webtool.html"> Top of manual page </a></li> <li title="start-0"><a href="webtool.html#start-0">start/0</a></li> <li title="start-2"><a href="webtool.html#start-2">start/2</a></li> <li title="stop-0"><a href="webtool.html#stop-0">stop/0</a></li> <li title="debug_app-1"><a href="webtool.html#debug_app-1">debug_app/1</a></li> <li title="stop_debug-0"><a href="webtool.html#stop_debug-0">stop_debug/0</a></li> <li title="Module:Func-1"><a href="webtool.html#Module:Func-1">Module:Func/1</a></li> </ul> </li> <li title="start_webtool"><a href="start_webtool.html">start_webtool</a></li> </ul> </div></div> <div id="content"> <div class="innertube"> <!-- refpage --><center><h1>start_webtool</h1></center> <h3>COMMAND</h3> <div class="REFBODY">start_webtool</div> <h3>COMMAND SUMMARY</h3> <div class="REFBODY">WebTool Start Script</div> <h3>DESCRIPTION</h3> <div class="REFBODY"><p> <p>The <span class="code">start_webtool</span> script starts WebTool, a WebTool application and a web browser pointing to this application.</p> </p></div> <h3>EXPORTS</h3> <p></p> <div class="REFBODY"><p> <p>Starts WebTool, the given WebTool Application and a web browser pointing to this application. </p> <p>If no argument is given, a list of available applications is displayed, e.g.</p> <div class="example"><pre> >start_webtool Starting webtool... WebTool is available at http://localhost:8888/ Or http://127.0.0.1:8888/ Usage: start_webtool application [ browser ] Available applications are: [orber,appmon,crashdump_viewer,webcover] Default browser is 'iexplore' (Internet Explorer) on Windows or else 'netscape' </pre></div> <p>To start any of the listed applications, give the application name as the first argument, e.g.</p> <div class="example"><pre> >start_webtool webcover Starting webtool... WebTool is available at http://localhost:8888/ Or http://127.0.0.1:8888/ Starting webcover... Sending URL to netscape...done </pre></div> <p>The WebTool application WebCover is then started and the default browser is used. The default browser is Internet Explorer on Windows or else Netscape. </p> <p>To use another browser, give the browser's start command as the second argument, e.g.</p> <div class="example"><pre> >start_webtool webcover mozilla Starting webtool... WebTool is available at http://localhost:8888/ Or http://127.0.0.1:8888/ Starting webcover... Sending URL to mozilla...done </pre></div> <p>If the given browser name is not known to WebTool, WebTool will run it as a command with the start URL as the only argument, e.g.</p> <div class="example"><pre> >start_webtool webcover mybrowser Starting webtool... WebTool is available at http://localhost:8888/ Or http://127.0.0.1:8888/ Starting webcover... Starting mybrowser... </pre></div> <p>Here the command <span class="code">"mybrowser http://localhost:8888/webcover"</span> is executed. </p> </p></div> <h3><a name="id2261105">See Also</a></h3> <div class="REFBODY"> <p><span class="bold_code"><a href="webtool.html">webtool(3)</a></span></p> </div> </div> <div class="footer"> <hr> <p>Copyright © 2001-2010 Ericsson AB. All Rights Reserved.</p> </div> </div> </div></body> </html>