Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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!

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

1 Answer 1

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
share|improve this answer
1  
So without the window opening, or with the window minimized? –  gronostaj Nov 23 '13 at 23:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.