Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Using and intercepting command line programs

Using and intercepting command line programs

Scheduled Pinned Locked Moved C#
csharpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    noahfields
    wrote on last edited by
    #1

    Hi, I am trying to use ILAsm and ILDasm inside an application and I need to be able to run the programs and intercept any errors and/or output that they create. Are there FxCL classes to do this or is there another way? (I'm using C#). I searched around on the articles on the site but couldn't find anything relating to this. Maybe I just don't have the right keywords. Any links or advice would be great. Thanks. -Noah Fields

    K 1 Reply Last reply
    0
    • N noahfields

      Hi, I am trying to use ILAsm and ILDasm inside an application and I need to be able to run the programs and intercept any errors and/or output that they create. Are there FxCL classes to do this or is there another way? (I'm using C#). I searched around on the articles on the site but couldn't find anything relating to this. Maybe I just don't have the right keywords. Any links or advice would be great. Thanks. -Noah Fields

      K Offline
      K Offline
      Kentamanos
      wrote on last edited by
      #2

      Take a look at the System.Diagnostics namespace, especially the Process and ProcessStartInfo classes. Searching for those two classes on the net should lead you to lots of examples on how to start applications and redirect their output to yourself.


      I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.
      -David St. Hubbins

      N 1 Reply Last reply
      0
      • K Kentamanos

        Take a look at the System.Diagnostics namespace, especially the Process and ProcessStartInfo classes. Searching for those two classes on the net should lead you to lots of examples on how to start applications and redirect their output to yourself.


        I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.
        -David St. Hubbins

        N Offline
        N Offline
        noahfields
        wrote on last edited by
        #3

        Great! thanks for your help

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups