Received: from eggs.gnu.org ([2001:4830:134:3::10]:39817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfZlr-0007wb-3Q for qemu-devel@nongnu.org; Fri, 25 Sep 2015 16:39:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfZli-0002VE-1A for qemu-devel@nongnu.org; Fri, 25 Sep 2015 16:39:07 -0400 Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:32948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfZlh-0002V3-Tj for qemu-devel@nongnu.org; Fri, 25 Sep 2015 16:38:57 -0400 Received: by qgev79 with SMTP id v79so79067466qge.0 for ; Fri, 25 Sep 2015 13:38:57 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: Date: Fri, 25 Sep 2015 16:38:55 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <7694D7B9-C663-4B3A-8901-EF2E4399BD8F@gmail.com> References: <95F1C5B4-8236-49CC-8001-DAECD69B1298@gmail.com> <20569C53-CE90-4023-B46C-D0EFEE88DCA8@gmail.com> <2E6A22DB-2A33-4FCE-948E-8EFAF4CB4DFD@gmail.com> <6ED57561-5704-475B-AC7B-D9D2DD53E627@gmail.com> Subject: Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: remove open dialog code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel qemu-devel On Sep 25, 2015, at 4:14 PM, Peter Maydell wrote: > On 25 September 2015 at 12:58, Programmingkid = wrote: >>=20 >> On Sep 25, 2015, at 2:53 PM, Peter Maydell wrote: >>=20 >>> On 25 September 2015 at 11:24, Programmingkid = wrote: >>>=20 >>>> I don't think Mac OS X adds the -psn argument anymore. It might = have >>>> in the past, but I don't see any sign of it on Mac OS 10.6. I made >>>> a test program and launched it from both the terminal and the = Finder. >>>> I didn't see the -psn argument. >>>=20 >>> Hmm, you're right. Googling suggests that the -psn argument is added >>> only if the program is in an 'application bundle' (ie not just a >>> bare executable). >>>=20 >>> So that means we can't easily distinguish being run from the GUI >>> vs from the command line, which means we don't have a convenient >>> way to check for whether we should bring up that dialog box. >>>=20 >>> I think that brings us back to somewhere near your first patch -- >>> just remove the dialog box code. If anybody is somehow running >>> QEMU in an application bundle they'll let us know that it's broken, >>> I'm sure :-) >>>=20 >>> Sorry for all the back-and-forth on this patch. Can you send out >>> a v3 that goes back to that approach, please? >>>=20 >>> -- PMM >>=20 >> I think you want this patch (the original one): >=20 > Yes, but I was hoping for it in a format that works with > our patch-handling tools... What needs to be changed to make it work with the patch-handling tools?