1

Is it possible to run a mono application without having the terminal window open? I am trying to run KeePass 2.1.9 using mono on OS X Lion, and it does run fine. The problem is that it has the terminal window open with it, and while it works it is a bit annoying. I have written a script to launch the KeePass application using Automator. It simply does this:

Run AppleScript:
on run {input, parameters}
    tell application "Terminal"
    activate
        do script with command "mono /Applications/KeePass/KeePass.exe"
    end tell
end run

This works, but it opens up the terminal window along with KeePass. Is it possible to just have it launch KeePass without a terminal window as well? Quitting Terminal doesn't work because that terminals mono with it.

Thanks for any help!

2
  • Can't you just Run Shell Script and execute mono /Applications/KeePass/KeePass.exe & ; disown %1?
    – Daniel Beck
    Aug 9, 2012 at 16:35
  • Note: The with command parameter is deprecated. Just write do script "...".
    – Chris Page
    Aug 11, 2012 at 7:15

1 Answer 1

0

I was able to do this without the terminal window opening. Although the window does open minimized and multiple terminal sessions can stay active. So I set up auto logout after 30 mins.

on run {input, parameters}
tell application "Terminal"
    do script with command "mono /Applications/KeePass/KeePass.exe"
end tell
1
  • 1
    So without the window opening, or with the window minimized?
    – gronostaj
    Nov 23, 2013 at 23:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .