Multiple instances of Gnucash in moutain lion
jralls at ceridwen.us
Thu Nov 15 19:59:27 EST 2012
On Nov 16, 2012, at 8:43 AM, John Ralls <jralls at ceridwen.us> wrote:
> On Nov 16, 2012, at 7:46 AM, Joe R <jxr2000 at lycos.com> wrote:
>> Hi John,
>> That works but there is a catch. It ties up your terminal even if you put the & at the end. What I will do is create a script that will do the following:
>> CD into lib of where the file I want to use is
>> start Gnucash file-i-want
>> This terminal session will stay active will I work with Gnucash, and once I quit from it, it should close due to the Exit cmd.
>> I will assign an icon to each script so I know which is which copy it to the dock and I should be good to go.
>> If this works, which it should I can live with it.
> Please always CC the list on replies: Use "reply all" (the double-arrow thingy).
> No, it doesn't tie up the terminal session when you background it, it just looks that way because Gnucash writes some stuff to stdout that make the prompt hard to see. Try typing another command or launching another instance of Gnucash after the first.
Well, poop. I realized about 2 minutes after writing that that doing anything in the terminal session immediately suspends Gnucash. Even redirecting the output doesn't do it. There must be something about the exec at the end that's attaching it to the terminal session. I'll have to dig into that a bit more.
More information about the gnucash-user