1. If you're receiving a message that you are banned from the Current Events or Politics forums, it's not you specifically: those forums have been hidden for all users. For more info, see here.
    Dismiss Notice

C# function to match C++ system()

Discussion in 'Programming & Software Development' started by zeuss, Mar 8, 2004.

  1. zeuss

    zeuss Member

    Joined:
    Jul 1, 2001
    Messages:
    275
    Location:
    Hawthorn East, Melbourne
    Hi all,

    Just wondering if anyone knows of a C# function equivalent to the C++ "system()" function...

    Having a bit of trouble finding out if such a function exists - obviously searching for the word "system" in the C# documentation (or on the web) returns more than one result ... and I can't think what else to search for. :wired:

    Thanks,
    James
     
  2. Bangers

    Bangers Member

    Joined:
    Dec 25, 2001
    Messages:
    7,254
    Location:
    Silicon Valley
    System.Diagnostics.Process.Start(string program);
     
  3. OP
    OP
    zeuss

    zeuss Member

    Joined:
    Jul 1, 2001
    Messages:
    275
    Location:
    Hawthorn East, Melbourne
    wow that was fast!! :shock: :shock:


    Cheers! :D
     

Share This Page

Advertisement: