pluie-echo/doc/pluie-echo-0.2/Pluie.Sys.Cmd.html

103 lines
6.4 KiB
HTML
Raw Permalink Normal View History

2017-11-09 02:08:41 +00:00
<?xml version="1.0" encoding="utf-8"?>
<html>
<head>
<meta charset="UTF-8"/>
<title>Pluie.Sys.Cmd &ndash; pluie-echo-0.2 &ndash; Vala Binding Reference</title>
2017-11-09 02:08:41 +00:00
<link href="../style.css" rel="stylesheet" type="text/css"/><script src="../scripts.js" type="text/javascript">
</script>
</head>
<body>
<div class="site_header">Pluie.Sys.Cmd &ndash; pluie-echo-0.2 Reference Manual</div>
2017-11-09 02:08:41 +00:00
<div class="site_body">
<div class="site_navigation">
<ul class="navi_main">
<li class="package_index"><a href="../index.html">Packages</a></li>
</ul>
<hr class="navi_hr"/>
<ul class="navi_main">
<li class="package"><a href="index.htm">pluie-echo-0.2</a></li>
2017-11-09 02:08:41 +00:00
</ul>
<hr class="navi_hr"/>
<ul class="navi_main">
<li class="namespace"><a href="Pluie.html">Pluie</a></li>
</ul>
<hr class="navi_hr"/>
<ul class="navi_main">
<li class="namespace"><a href="Pluie.Sys.html">Sys</a></li>
</ul>
<hr class="navi_hr"/>
<ul class="navi_main">
<li class="class">Cmd</li>
</ul>
<hr class="navi_hr"/>
<ul class="navi_main">
<li class="property"><a href="Pluie.Sys.Cmd.error.html">error</a></li>
<li class="property"><a href="Pluie.Sys.Cmd.name.html">name</a></li>
<li class="property"><a href="Pluie.Sys.Cmd.output.html">output</a></li>
<li class="property"><a href="Pluie.Sys.Cmd.status.html">status</a></li>
<li class="creation_method"><a href="Pluie.Sys.Cmd.Cmd.html">Cmd</a></li>
<li class="method"><a href="Pluie.Sys.Cmd.run.html">run</a></li>
</ul>
</div>
<div class="site_content">
<h1 class="main_title">Cmd</h1>
<hr class="main_hr"/>
<h2 class="main_title">Object Hierarchy:</h2>
<img class="main_diagram" usemap="#Pluie.Sys.Cmd" alt="Object hierarchy for Cmd" src="img/Pluie.Sys.Cmd.png"/>
<map id="Pluie.Sys.Cmd" name="Pluie.Sys.Cmd">
<area shape="rect" id="node1" href="Pluie.Sys.Cmd.html" title="Pluie.Sys.Cmd" alt="" coords="5,5,136,53"/>
</map>
<h2 class="main_title">Description:</h2>
<div class="main_code_definition"><span class="main_keyword">public</span> <span class="main_keyword">class</span> <b><span class="class">Cmd</span></b>
</div>
<div class="description">
<p>A class spawning synchronous command line</p>
<p><pre class="main_source"><code><span class="main_keyword">using</span> Pluie;<br/><br/><span class="main_basic_type">int</span> main (<span class="main_basic_type">string</span>[] args)<br/>{<br/> Echo.init(<span class="main_literal">false</span>);<br/> <span class="main_keyword">var</span> cmd = <span class="main_keyword">new</span> Sys.Cmd (<span class="main_literal">"ls -la"</span>);<br/> <span class="main_keyword">return</span> cmd.run(<span class="main_literal">true</span>);<br/>}</code></pre>
valac --pkg pluie-echo-0.2 pluie-cmd.vala</p>
2017-11-09 02:08:41 +00:00
</div><br/>
<div class="namespace_note"><b>Namespace:</b> <a href="Pluie.Sys.html">Pluie.Sys</a>
</div>
<div class="package_note"><b>Package:</b> <a href="index.htm">pluie-echo-0.2</a>
2017-11-09 02:08:41 +00:00
</div>
<h2 class="main_title">Content:</h2>
<h3 class="main_title">Properties:</h3>
<ul class="navi_inline">
<li class="property"><span class="leaf_code_definition"><span class="main_keyword">public</span> <span class="main_basic_type"><span class="class">string</span></span> <b><a href="Pluie.Sys.Cmd.output.html" class="property">output</a></b> { <span class="main_keyword">get</span>; }
</span>
<div class="leaf_brief_description"><span class="brief_description">last command standard output</span>
2017-11-09 02:08:41 +00:00
</div></li>
<li class="property"><span class="leaf_code_definition"><span class="main_keyword">public</span> <span class="main_basic_type"><span class="class">string</span></span> <b><a href="Pluie.Sys.Cmd.error.html" class="property">error</a></b> { <span class="main_keyword">get</span>; }
</span>
<div class="leaf_brief_description"><span class="brief_description">last command error output</span>
2017-11-09 02:08:41 +00:00
</div></li>
<li class="property"><span class="leaf_code_definition"><span class="main_keyword">public</span> <span class="main_basic_type"><span class="class">string</span></span> <b><a href="Pluie.Sys.Cmd.name.html" class="property">name</a></b> { <span class="main_keyword">get</span>; }
</span>
<div class="leaf_brief_description"><span class="brief_description">last command line</span>
2017-11-09 02:08:41 +00:00
</div></li>
<li class="property"><span class="leaf_code_definition"><span class="main_keyword">public</span> <span class="main_basic_type"><span class="struct">int</span></span> <b><a href="Pluie.Sys.Cmd.status.html" class="property">status</a></b> { <span class="main_keyword">get</span>; }
</span>
<div class="leaf_brief_description"><span class="brief_description">last command line status</span>
2017-11-09 02:08:41 +00:00
</div></li>
</ul>
<h3 class="main_title">Creation methods:</h3>
<ul class="navi_inline">
<li class="creation_method"><span class="leaf_code_definition"><span class="main_keyword">public</span> <b><a href="Pluie.Sys.Cmd.Cmd.html" class="creation_method">Cmd</a></b> (<span class="main_basic_type"><span class="class">string</span></span> name = <span class="main_literal">""</span>)
2017-11-09 02:08:41 +00:00
</span>
<div class="leaf_brief_description">
</div></li>
</ul>
<h3 class="main_title">Methods:</h3>
<ul class="navi_inline">
<li class="method"><span class="leaf_code_definition"><span class="main_keyword">public</span> <span class="main_basic_type"><span class="struct">int</span></span> <b><a href="Pluie.Sys.Cmd.run.html" class="method">run</a></b> (<span class="main_basic_type"><span class="struct">bool</span></span> display = <span class="main_literal">false</span>, <span class="main_basic_type"><span class="class">string</span></span> name = <span class="main_literal">""</span>)
2017-11-09 02:08:41 +00:00
</span>
<div class="leaf_brief_description"><span class="brief_description">run the current command or a new one</span>
2017-11-09 02:08:41 +00:00
</div></li>
</ul>
</div>
</div><br/>
<div class="site_footer">Generated by <a href="http://www.valadoc.org/">Valadoc</a>
</div>
</body>
</html>