On Sep 25, 2015, at 12:21 PM, Peter Maydell wrote:

> On 25 September 2015 at 09:12, Programmingkid <[email protected]> 
> 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;
}

Reply via email to