[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: remove open dialog code
From: |
Programmingkid |
Subject: |
Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: remove open dialog code |
Date: |
Fri, 25 Sep 2015 14:24:27 -0400 |
On Sep 25, 2015, at 12:21 PM, Peter Maydell wrote:
> On 25 September 2015 at 09:12, Programmingkid <address@hidden> wrote:
>>
>> 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?)
>>
>> I suppose you are right. Will make a new patch to fix this problem.
>
> 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...
>
> -- 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.
Do you see -psn with this program?
#include <stdio.h>
int main(int argc, char *argv[])
{
int i;
printf("argc = %d\n", argc);
for(i = 0; i < argc; i++) {
printf("arg %d = %s\n", i, argv[i]);
}
printf("done\n");
return 0;
}
- [Qemu-devel] [PATCH v2] ui/cocoa.m: remove open dialog code, Programmingkid, 2015/09/23
- Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: remove open dialog code, Peter Maydell, 2015/09/25
- Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: remove open dialog code, Programmingkid, 2015/09/25
- Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: remove open dialog code, Peter Maydell, 2015/09/25
- Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: remove open dialog code,
Programmingkid <=
- Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: remove open dialog code, Peter Maydell, 2015/09/25
- Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: remove open dialog code, Programmingkid, 2015/09/25
- Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: remove open dialog code, Peter Maydell, 2015/09/25
- Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: remove open dialog code, Programmingkid, 2015/09/25
- Re: [Qemu-devel] [PATCH v2] ui/cocoa.m: remove open dialog code, Peter Maydell, 2015/09/25