using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Diagnostics;
namespace ConsoleApplication4
{
class Program
{
static void Main(string[] args)
{
for (int i = 0; i < 100; i++)
{
Thread.Sleep(100);
Console.WriteLine(i);
}
Process p = new Process();
//p.StartInfo.WorkingDirectory = @"";
p.StartInfo.FileName = @"";
p.StartInfo.Arguments = @"";
p.StartInfo.CreateNoWindow = true;
p.Start();
p.WaitForExit();
for (int i = 0; i < 100; i++)
{
Thread.Sleep(100);
Console.WriteLine(i);
/*
public static Process Start(string fileName);
// fileName : 프로세스에서 실행될 응용 프로그램 파일 이름입니다.
//문서 또는 응용 프로그램 파일 이름을 지정하여 프로세스 리소스를 시작하고 해당 리소스를 새 Process 구성 요소에 연결합니다
Process.Start("IExplore.exe");
public static Process Start(string fileName, string arguments);
*/
}
}
}
}