472,353 Members | 1,243 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

Windowless process child

Hi, i'm new in this list so I don't know if anyone has asked
this...but...

I have a process (dos app instance) started like this:

_procStartInfo = new ProcessStartInfo();
_procStartInfo.FileName = appPath;
_procStartInfo.RedirectStandardInput = redirectStandardInput;
_procStartInfo.RedirectStandardOutput = redirectStandardOutput;
_procStartInfo.RedirectStandardError = redirectStandardError;
_procStartInfo.UseShellExecute = false;
_procStartInfo.CreateNoWindow = true;

Now, the command that I start with the previously configuration run a
child process that has a window (the child process is a firefox
instance) but the child inherits the property of CreateNoWindow of the
parent, so I see that the process is running (in the task manager) but
I can't see it.

Because the child app is launched by an application that it's not
mine, I can control the way that it start.

It's there something that I can do to run an dos app, redirect it's
output, (error and input too), and still let the application to create
process normally (so I can see them)?

Thanks in advance

Darío Macchi

May 15 '07 #1
2 2426
(top-posting, because sometimes OE doesn't quote properly)
Have you tried setting the console app to start minimized instead of hidden?
"Darmac" <da******@gmail.comwrote in message
news:11*********************@p77g2000hsh.googlegro ups.com...
Hi, i'm new in this list so I don't know if anyone has asked
this...but...

I have a process (dos app instance) started like this:

_procStartInfo = new ProcessStartInfo();
_procStartInfo.FileName = appPath;
_procStartInfo.RedirectStandardInput = redirectStandardInput;
_procStartInfo.RedirectStandardOutput = redirectStandardOutput;
_procStartInfo.RedirectStandardError = redirectStandardError;
_procStartInfo.UseShellExecute = false;
_procStartInfo.CreateNoWindow = true;

Now, the command that I start with the previously configuration run a
child process that has a window (the child process is a firefox
instance) but the child inherits the property of CreateNoWindow of the
parent, so I see that the process is running (in the task manager) but
I can't see it.

Because the child app is launched by an application that it's not
mine, I can control the way that it start.

It's there something that I can do to run an dos app, redirect it's
output, (error and input too), and still let the application to create
process normally (so I can see them)?

Thanks in advance

Darío Macchi
May 15 '07 #2
On May 15, 8:39 pm, "Ben Voigt" <r...@nospam.nospamwrote:
(top-posting, because sometimes OE doesn't quote properly)
Have you tried setting the console app to start minimized instead of hidden?
Yes, i've tried but the process started by the child process (the one
I have been redirecting it's output) still start windowless...

Any other idea?... Thx!!

May 17 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Peter Åstrand | last post by:
There's a new PEP available: PEP 324: popen5 - New POSIX process module A copy is included below. Comments are appreciated. ---- PEP:...
11
by: Mike M | last post by:
Is it possible? In the parent process, I have a socket that binds, listens and then accepts new connections (which creates new sockets in the...
6
by: benz | last post by:
I am trying to fork and exec a child by python. Additionally, I am attempting to have a spinning slash while the child is running. My code is as...
3
by: felixfix | last post by:
Hi all, I am just wondering if something is wrong with my program. What it bascially does is to output a fibonacci sequence base on the...
3
by: Peter | last post by:
Can a label control be created that is windowless? (tank you Chris for the tip) Tank you
8
by: mandydhaliwal | last post by:
Hi all, I am porting a win32 c++ program on Linux which first reads a list of processes and their paths from a file.Then this program should...
9
by: Homer J. Simpson | last post by:
Stupid question. I've been using C# 2.0 for the past few weeks, but mostly in the context of ASP.NET. I have little to no experience with Win32 C#...
1
by: ganeshp | last post by:
Hi , In my project i have come across a requirement where i must track the runtime of a process and terminate the process if it execeed a certain...
3
by: mdshafi01 | last post by:
Hello my code is here. here i am unable to execute my perl programs . please help in this regards, #!/usr/bin/perl use warnings; use...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.