Program: execute(String arg0) : Program « org.eclipse.swt.program « Java by API






Program: execute(String arg0)


import org.eclipse.swt.program.Program;

public class MainClass {

  public static void main(String[] a) {

    Program program = Program.findProgram("notepad.exe");
    program.execute("test.ext");
  }
}


           
       








Related examples in the same category

1.Program: getName()
2.Program: findProgram(String p)
3.Program: launch(String name)