Differences

This shows you the differences between the selected revisions of the page.

2011-03-30 2011-07-31
no summary (martin) scriptcommand_* (martin)
Line 21: Line 21:
==== [[input]] Feeding scripting commands using standard input ==== ==== [[input]] Feeding scripting commands using standard input ====
-You can use standard input redirection (''[[http://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.redirectstandardinput.aspx|ProcessStartInfo.RedirectStandardInput]]'') to feed [[script_commands|scripting commands]], sparing necessity to assemble temporary script file.((Of course unless what you plan to do is actually execution of existing script file.)) +You can use standard input redirection (''[[http://msdn.microsoft.com/en-us/library/system.diagnostics.processstartinfo.redirectstandardinput.aspx|ProcessStartInfo.RedirectStandardInput]]'') to feed [[scriptcommands|scripting commands]], sparing necessity to assemble temporary script file.((Of course unless what you plan to do is actually execution of existing script file.))
To feed commands to standard input use ''[[http://msdn.microsoft.com/en-us/library/system.diagnostics.process.standardinput.aspx|Process.StandardInput]]'' stream: To feed commands to standard input use ''[[http://msdn.microsoft.com/en-us/library/system.diagnostics.process.standardinput.aspx|Process.StandardInput]]'' stream:
Line 81: Line 81:
</code> </code>
-In case of success, you can e.g. extract directory listing generated by ''[[script_commands#ls|ls]]'' command inside ''[[logging_xml#ls|ls]]'' element:+In case of success, you can e.g. extract directory listing generated by ''[[scriptcommand_ls|ls]]'' command inside ''[[logging_xml#ls|ls]]'' element:
<code csharp> <code csharp>

Last modified: by martin