Re: Exec Class

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Randy,

Exec? Exec is a task for MSBuild, which is meant to run a program
during your build process (should you specify it).

What you are looking for is the Process class. It will allow you to
start programs.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"randy1200" <randy1200@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C780F442-3795-42D3-9D7D-768F0E787E33@xxxxxxxxxxxxxxxx
I need to be able to execute programs directly from a C# program. My first
thought was to use exec, but the documentation states that exec should not
be
called directly from application code. Any suggestions on what should be
used
to start executable programs directly from C# code?

Thanks,
Randy


.



Relevant Pages

  • Re: Utilizing Return values from Stored Procedure
    ... Specify that the procedure parameter is an OUTPUT paarmeter. ... exec spLocal_HomeGetNextID @Column OUPUT, @MHRID ... "Keith" wrote in message ... > I'm executing a stored procedure from within a stored> procedure. ...
    (microsoft.public.sqlserver.server)
  • Re: mq_open() and close_on_exec?
    ... >>SUSv3 doesn't seem to specify one way or the other. ... >>object which is to be closed upon exec. ... Looks like I missed the SUSv3 specification that indeed ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: IF-Statement in JCL
    ... JCL fragment: ... Using IRXJCL to run a REXX exec in MVS batch ... Specify the member name of the exec and one ... You can specify only the name of a member of a PDS. ...
    (bit.listserv.ibm-main)
  • Re: Mount encrypted partition with exec
    ... Anyone know how to add the exec flag to an encrypted partition in openSUSE ... I have specified 'exec' as an additional flag in Yast->Parititoner ... the solution is to place 'user' as the first option then specify ...
    (alt.os.linux.suse)