help me understand how the launch function works
#1
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?
Reply
#2
system("WebPositive google.com &")
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
Free Web Hosting