help me understand how the launch function works - Printable Version +- yab | yet another Basic for HAIKU (https://yab.orgfree.com/forum) +-- Forum: Programming in yab (https://yab.orgfree.com/forum/forumdisplay.php?fid=1) +--- Forum: Help with programs (https://yab.orgfree.com/forum/forumdisplay.php?fid=4) +--- Thread: help me understand how the launch function works (/showthread.php?tid=131) |
help me understand how the launch function works - amber - 12-20-2020 Hi! I'm trying to pass command-line parameters to the application being launched. But I can't do it. What am I doing wrong? launch "/boot/system/apps/WebPositive" - this works (WebPositive launched) launch "/boot/system/apps/WebPositive google.com" - this NOT works (WebPositive NOT launched) But, if I run the command in the terminal: /boot/system/apps/WebPositive google.com , this opens browser with website. WebPositive is an example command. I would like to pass parameters to different applications. For example, it would be convenient to open a text document in "Pe" How do I do this? How do i pass parameters to the launching application? RE: help me understand how the launch function works - bbjimmy - 12-21-2020 system("WebPositive google.com &") |