From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfXfd-0000gU-Do for qemu-devel@nongnu.org; Fri, 25 Sep 2015 14:24:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfXfZ-0001fy-HI for qemu-devel@nongnu.org; Fri, 25 Sep 2015 14:24:33 -0400 Received: from mail-qg0-x236.google.com ([2607:f8b0:400d:c04::236]:33797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfXfZ-0001fn-Dq for qemu-devel@nongnu.org; Fri, 25 Sep 2015 14:24:29 -0400 Received: by qgez77 with SMTP id z77so76545814qge.1 for ; Fri, 25 Sep 2015 11:24:29 -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 14:24:27 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <2E6A22DB-2A33-4FCE-948E-8EFAF4CB4DFD@gmail.com> References: <95F1C5B4-8236-49CC-8001-DAECD69B1298@gmail.com> <20569C53-CE90-4023-B46C-D0EFEE88DCA8@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 12:21 PM, Peter Maydell wrote: > On 25 September 2015 at 09:12, Programmingkid = wrote: >>=20 >> On Sep 25, 2015, at 12:09 PM, Peter Maydell wrote: >>> (Also, isn't a simple test on gArgc going to cause us to put up >>> the dialog box even if qemu was started from the command line with >>> no arguments?) >>=20 >> I suppose you are right. Will make a new patch to fix this problem. >=20 > Given that that was the problem you were trying to address with > these patches in the first place, it would be a good idea to test > that your changes do now let you do what you wanted... >=20 > -- PMM 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 Do you see -psn with this program? #include int main(int argc, char *argv[]) { int i; printf("argc =3D %d\n", argc); for(i =3D 0; i < argc; i++) { printf("arg %d =3D %s\n", i, argv[i]); } printf("done\n"); return 0; }=