Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

RunTask.SetLaunchPath

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 )

Parameters

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

Result

Returns OK or error.

Description

Sets the path to be launched.

Examples

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


RunTask.SetCurrentDirectoryPath   -   RunTask.SetVerb

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins