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 2 2480
(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
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!! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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: 324
Title: popen5 - New POSIX process module
|
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 process). I want to be able to pass some of these new...
|
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 below:
import sys, os, time
def...
|
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
command-line output. If I give a 5, it will generate the...
|
by: Peter |
last post by:
Can a label control be created that is windowless?
(tank you Chris for the tip)
Tank you
|
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 launch
all of thesese processes.
I tried to...
|
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#
apps.
My purpose is to write a windowless...
|
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 threshold limit.
semthing like
step 1: ...
|
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 strict;
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |