public static Builder running ( File executable ) { checkArgument ( executable . isFile ( ) , "file not found: %s" , executable ) ; checkArgument ( executable . canExecute ( ) , "executable.canExecute" ) ; return running ( executable . getPath ( ) ) ; }
Constructs a builder instance that will produce a program that launches the given executable . Checks that a file exists at the given pathname and that it is executable by the operating system .