Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  


Sets the path to be launched.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
RunTask 3.1 Yes Yes Yes No No
MBS( "RunTask.SetLaunchPath"; Path )   More


Parameter Description Example value
Path The new path for current working directory. "notepad.exe"


Returns OK or error.


Sets the path to be launched.


Launch a Java application on Mac:

MBS( "RunTask.NewTask" )
# you launch java
MBS( "RunTask.SetLaunchPath"; "/usr/bin/java" )
# and pass jar file as arguments followed by other arguments
MBS( "RunTask.SetArguments"; "-jar" ; "/Applications/test/java.jar"; "Hello" )
MBS( "RunTask.Launch")

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 19th May 2017

RunTask.SetCurrentDirectoryPath   -   RunTask.SetVerb

Feedback: Report problem or ask question.

MBS Xojo Plugins