Quantcast
Channel: Questions in topic: "log"
Viewing all articles
Browse latest Browse all 235

Write to stdout from standalone?

$
0
0
Is there a way to write to the stdout from a standalone? I have a console application that fires up a standalone in headless mode but I haven't been able to find a way to write to the stdout. Here's the code that launches the standalone: var startInfo = new ProcessStartInfo { FileName = Directory.GetCurrentDirectory() + "\\Server\\server.exe", Arguments = "-batchmode", RedirectStandardOutput = true, UseShellExecute = false, }; _process = new Process { StartInfo = startInfo }; _process.OutputDataReceived += Received; _process.Start();

Viewing all articles
Browse latest Browse all 235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>