On Fri, Jul 20, 2012 at 2:06 AM, Roberto De Ioris <[email protected]> wrote:
>
> Il giorno 19/lug/2012, alle ore 20:57, C Anthony Risinger ha scritto:
>>>
>>
>> how did this ever work?  i went back almost 600 commits and it looks
>> like UWSGI_OPT_IMMEDIATE has never been defined ... unless i'm missing
>> a different mechanism, it seems busted since the option parsing was
>> reworked, at the least?
>
> Because you used stdin as the 'source' of the file (while i used a normal 
> file).
>
> I have commited the patch
>
> Thanks

i only pasted the stdin version, but i tried both ways:

=========================================
# cat test.json
{"uwsgi":{"print":"$(PATH)"}}

# uwsgi --json test.json
[uWSGI] getting JSON configuration from test.json
$(PATH)
*** Starting uWSGI 1.2.4 (64bit) on [Fri Jul 20 10:22:55 2012] ***
[...]
The -s/--socket option is missing and stdin is not a socket.
=========================================

... the INI version print the path fine?  so i'm still at a loss as to
why there is a variation, but since it's committed now ... i guess i
don't care too much either :-)

thanks much Roberto,

-- 

C Anthony
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to