|Real Software Forums
|How does App get launchd ProgramArguments?
|Page 1 of 1|
|Author:||Tom Baumgartner [ Tue May 21, 2013 5:57 am ]|
|Post subject:||How does App get launchd ProgramArguments?|
There is a gap in my understanding of how launchd and Xojo (might as well get used to the new name) communicate.
If my launchd plist is:
<?xml version="1.0" encoding="UTF-8"?>
How do I get my app to receive the "-f" program argument when it is started by launchd?
|Author:||JeremK [ Wed May 22, 2013 6:48 am ]|
|Post subject:||Re: How does App get launchd ProgramArguments?|
The app gets the ProgramArguments using the "System.CommandLine" property.
This is the code I use in one of my programs.
The command() property then has all commands sent to the App.
Dim commands() As String
|Page 1 of 1||All times are UTC - 5 hours|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group