#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2005
    Posts
    392
    Rep Power
    24

    process.start


    I have the following to run the npm intall command

    Code:
                Process.Start(new ProcessStartInfo
                {
                    UseShellExecute = true,
                    Verb = "runas",
                    WorkingDirectory = @"c:\projects\",
                    FileName = "cmd.exe",
                    Arguments = "/c npm install"
                });
    but does anybody know if i can use the same process to execute a gulp task using the same cmd window?:
    Arguments = "/c gulp"
    Last edited by delboy31; November 20th, 2016 at 08:01 AM.

IMN logo majestic logo threadwatch logo seochat tools logo