Hello,
I’m launching thunderbird on mac os from Xojo, actually I compose the message like this
Dim sh as new shell
Dim command as String
command ="/Applications/Thunderbird.app/Contents/MacOS/thunderbird -compose to=‘john@example.com’,subject=‘dinner’,body=‘How about dinner tonight?’,attachment=file:///’/Users/Desktop/Temporals/File.pdf’"
sh.execute command
it works fine but there is a problem. The xojo program does not continue running until thunderbird is closed. Is there anyway to continue program running without exit Thunderbird. I understant that the issue will be any program.
If that is the only code in your program… what do expect “continue to run” to be doing?
The shell command will spawn Thunderbird, and both Xojo and Thunderbird will run until such time as they have deemed there function complete. Not sure what else you expect?
open /Applications/Thunderbird.app --args --compose to=‘john@example.com’,subject=‘dinner’,body=‘How about dinner tonight?’,attachment=file:///’/Users/Desktop/Temporals/File.pdf
man open
OPEN(1) BSD General Commands Manual OPEN(1)
NAME
open – open files and directories