CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2010
    Posts
    2

    Console application, Loading internally

    Hey, I'm working on my own sort of command prompt, including all my functions i use on computers, etc. My problem is when i call a function for example taskkill, it opens it in a new window, and doesn't let me see any of the output, is there a way for me to call an external program internally to see its output?

  2. #2
    Join Date
    Sep 2010
    Posts
    2

    Re: Console application, Loading internally

    Also, I forgot, I'm using VS C# 2010 Framework 4 on Windows Vista.

  3. #3
    Join Date
    Feb 2011
    Location
    United States
    Posts
    1,016

    Re: Console application, Loading internally

    Relevant link: http://www.dotnetperls.com/process-start

    Also, why reinvent the wheel? There are lots of good command line replacements for Windows, notably Cygwin and PowerShell.
    Best Regards,

    BioPhysEngr
    http://blog.biophysengr.net
    --
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured