Terminal window when doing open <app>

I am trying to relaunch my app after unhandledexception, and sending the stack trace back home.

Here is my code:

Dim f As FolderItem = app.ExecutableFile

Dim s As New shell 

s.execute("open " + f.ShellPath)

It works, and the app quits, then relaunches.

But I also get the Terminal window. Is there any way to prevent the Terminal from opening ?

Here are some parameters that can be used for the open comand…

Or ope terminal and type “open --help” to see any possible new parameters to hide the terminal from calling the command “open”

Maybe it’s better to use a URI handler then set some info to know it has been crashed.