Tagged Questions
1
vote
3answers
691 views
Redirect stout from child process with .net
I'm using the following code
System::Diagnostics::Process^ p = gcnew System::Diagnostics::Process();
p->StartInfo->FileName = "tnccmd.exe";
p->StartInfo->UseShellExecute = false;
...
0
votes
1answer
20 views
Retrieve stdout to variable
I’m trying to run child process in next code:
run = function (cmd, callback) {
var spawn = require('child_process').spawn;
var command = spawn(cmd);
var result = '';
...
0
votes
1answer
146 views
In rake task, execute command, read stdout until a certain line is matched, then detach and continue task
I want to launch a java servlet, observe its stdout until I see that it has fully loaded, and then go back to the rest of my rake task while keeping that process running. Currently I have something ...
0
votes
0answers
49 views
How to monitor child process output and exit status without adversely affecting child?
I want my program to monitor some processes that it has started. These are the most important requirements I know of:
Record the exit status of the child processes (unless they exit after my ...
0
votes
0answers
141 views
How to redirect stdout of a child process to parent process
I am trying to call child processes from threads in a server application written in C++.
It first looked good, but now I am experiencing timing problems as the output of the child process gets ...
0
votes
0answers
153 views
Java Process Builder redirect output works in Eclipse, not as jar
I'm using the process builder to launch new main classes. I do builder.inheritIO(); and it works in Eclipse (stdout and stderr redirect to the single console). However, when I export a jar, the the ...
0
votes
0answers
73 views
Why can't I read from Polipo's stdout?
I am trying to write an implementation of System.Net.IWebProxy that wraps around an instance of Tor and an instance of Polipo.
I have my class starting both processes, redirecting their outputs. I ...
0
votes
0answers
188 views
Ruby Open3.popen3 stdout pipe doesn't work when using a process monitor
I have noticed that when I run a ruby app using a process monitor, such as God or Bluepill, the part of the application that makes a Open3.popen3() { |stdin, stdout, stderr| } call doesn't work, ...