What is the method in version 9.3 to replace the old (but good) Metastorm %Run() function

Hi All,
What is the V9 method that replace the %Run() V5..V7 Metastorm function
Thanks
Pierre

Tagged:

Comments

  • In ServerScript Project Section :

    Using System.Diagnotics;
    public class Myscripts
    {
    public static void RunExternalApp()
    {
    ProcessStartInfo startinfo = new ProcessStartInfo();
    //Where it stays:
    startinfo.WorkingDirectory = "C:\WSMBPM";
    //it's name :
    startinfo.FileName = "MyApp.exe";
    // Run it
    Process.Start(startinfo);
    // use it as : MyScripts.RunExternalApp();
    }
    }

  • In ServerScript Project Section :

    Using System.Diagnotics;
    public class Myscripts
    {
    public static void RunExternalApp()
    {
    ProcessStartInfo startinfo = new ProcessStartInfo();
    //Where it stays:
    startinfo.WorkingDirectory = "C:\WSMBPM";
    //it's name :
    startinfo.FileName = "MyApp.exe";
    // Run it
    Process.Start(startinfo);
    // use it as : MyScripts.RunExternalApp();
    }
    }