The programs I'm trying to portabilize opens other applications, and I have to close it manually.
How can I close dependencies after closing main application?
New: Audacious (June 1, 2023), Platform 25.0 (Apr 07, 2023)
New Apr 14: macOS Portable Drive Support
450+ real apps (49GB), 1.1 billion downloads, Please donate.
Without knowing what the application is, you may be looking for the WaitForEXE option: https://portableapps.com/manuals/PortableApps.comLauncher/ref/launcher.i...
Thanks for the anwer, but I don' understand how to use it.
Ex: I have an app MyApp, that launch MyChildApp.
If I close MyApp, MyChildApp which is an independent process still remain opened...
I want close (automatically) this process when closing the main app.
WaitForExe is good (as I understand) ex: with splash screen, until all the credits are loaded...
Have you other suggestion? (Someone will have planned something about these possibilities)...
Is there a command to call a specific executable?
Ah, you're wanting to close the child app, not just run it.
If you were wanting just to run it, WaitForEXE will clean up settings after the child process is closed.
However, as you're looking to close the process automatically, you'll need to include custom code to do so at the moment.
Here's the link to information about custom code, and here's a not-yet-released implementation that I believe does what you want. Note that this will require some slight modification to work for you. I'll see if I can work out the specifics over the next week or so for you. Here's the documentation for what it will do when it is released, scroll down to the RunAfterN section.
Yes, you have understood!
I need few days to study this code, I 'll write soon.
Will you ( I don'know if you are the author of Launcher) implement some kind of CLOSEPROCESS = App.exe in the next release of PA?
Thanks again. (And sorry for the spelling errors. I don't read what I write!!!)