Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ssajous

macrumors member
Original poster
Sep 13, 2007
96
0
I have this GUI app written in Java and I can set the options to launch an external editor for certain file types. I set most of the files to be open by /usr/bin/vim. The app was written for the Windows environment so it calls cmd.exe to launch external apps. I created a cmd.exe file that where I call exec $2 $3.

When I open one of those files, I see that something happens, I don't see the open file, but when I do a ps I can see that vim is running with that file open. My issue is that I do not know how to tell OSX to open an interactive command window so I can actually edit my files.

Also I tried setting Vim.app as the external editor but nothing happens. I have a feeling that's because I don't know how to call .app. Before I go down that route I wanted to check here to see if someone had any advice.

Can anyone help? Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.