using System;
using System.Diagnostics;
namespace wxUtils{
/// <summary>
/// Summary description for Class1.
/// </summary>
class SampleLauncherLauncher
{
private const string LAUNCHER = "launcher.exe";
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
{
try
{
Environment.CurrentDirectory += "/Bin";
Process.Start(LAUNCHER);
}
catch (Exception ex)
{
throw new ApplicationException("I was not able to start the program " + LAUNCHER + ": " + ex.Message);
}
}
}
}
|