473,487 Members | 2,483 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

StandardInput on Process after it started from another app?

We are starting a process in one of our asp.net pages. After the Request has
completed, the process is started and is running. On the next request we are
trying to find a way to write to the standard input of the process. We tried
getting the process object, then trying to write to the standard input with
no luck. If we try to start th eprocess again with the appropriate startinfo
properties set, the process is started twice. Any ideas on sending messages
to a running process would be great, thanks os much I appreciate it!

Christopher
Nov 19 '05 #1
0 843

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

Similar topics

1
15308
by: Fred Mellender | last post by:
I looked at http://www.codeproject.com/csharp/LaunchProcess.asp?target=process and tried to follow the code there. My code is: public class Test { public ProcessStartInfo StartInfo; public...
2
4344
by: O_Spring | last post by:
I am writing a program in c#. I would like to read a binary file to the standard input of a process (it is flac.exe to encode/decode some files). I have tried to use the following code : ...
2
3170
by: Ivan Lam | last post by:
Hi all, Thanks for reading my post!!! I am facing a problem that I cannot redirect StandartOutput and StandardInput at the same time without closing the executive. Actually, I have a...
3
1257
by: Nikolay Petrov | last post by:
I have a class which starts a process and redirects it's output and input. My class have a method which starts the process and another which stops it. How can I check if the process have been...
1
1914
by: Christopher. A. Kelly | last post by:
I'm trying to send a string to a 3rd party application without using the sendmessage api below is what I am trying but it kicks out saying that StandardInput is redirected. I know that it is...
1
11621
by: Panagiotis | last post by:
Hi everyone, this is what I want to do in C#: 1) start a Cygwin Bash Shell 2) send the Shell a command, for example "ls -l" 3) capture all the output of the command The code below seems to...
0
1441
by: SMichal | last post by:
Hi, I've got this exception in my code. I'm starting new process with Redirection of standart input. As you cann see, I'm using log4net for logging the input stream... What does this Exception...
2
7620
by: nautonnier | last post by:
Hello, I have a C# app that spawns several processes each containing a console app written by another developer in C++. The console app was written first to be just like a console app: it...
1
4211
by: =?Utf-8?B?U3VydHVyWg==?= | last post by:
The following code used to work. It starts up notepad and types a few lines. What am I doing wrong? I'm using VB.NET 2005 under Vista. It starts notepad okay, but it can't 'type' into it. ...
0
7108
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7142
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7181
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6847
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7352
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
3071
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1383
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
618
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
272
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.