I think it will be fine adding this feature to a future release, it will 
more flexibility - something really important for IoT devices.

Meanwhile, I solved the issue by setting up a batch file that first starts 
the mongoose server (with start_browser = no) and then starts the specified 
browser (IE in this case) with the appropriate http link.

Please keep up the good work.

Thank you very much,

On Sunday, January 3, 2016 at 6:42:41 PM UTC+2, Sergey Lyubka wrote:
>
> Got it.
> No, that's not currently possible.
> Mongoose binary is hardwired to: *ShellExecute(NULL, "open", url, NULL, 
> NULL, SW_SHOW);*
> ShellExecute command opens the default browser with mongoose URL. 
>
> It would be possible to change "start_browser" option to 
> "on_start_command" where you can specify what to run, by default that would 
> be opening a default browser. That is not in our development plan though. 
> If you're interested in that feature, file an issue against the mongoose 
> github repo.
>
>
>
>
> On Sun, Jan 3, 2016 at 4:35 PM, joefulls <eng.y...@gmail.com <javascript:>
> > wrote:
>
>> Hi Sergey,
>>
>> Meanwhile, the index.html file is located in the same directory as the 
>> mongoose.exe. Double-clicking the mongoose.exe fires the default browser on 
>> my PC (IE in my case) loaded with the current index.html - works fine.
>>
>> The problem is when I try to run it from another PC, it chooses to run 
>> with the other PC's default browser, while I need it to work only with IE.
>>
>> So I'm looking for a way to tell mongoose: start the index.html using IE 
>> (on all PCs), not the default browser (chrome, firefox, etc.).
>>
>> Any idea?
>>
>> Thanks a lot
>>
>> On Sunday, January 3, 2016 at 6:25:27 PM UTC+2, Sergey Lyubka wrote:
>>>
>>> If you put your index.html in the document root, it'll be opened.
>>>
>>> On Sun, Jan 3, 2016 at 4:22 PM, joefulls <eng.y...@gmail.com> wrote:
>>>
>>>> Hi everybody, 
>>>>
>>>> Is there anyway to force the mongoose web server to run using a 
>>>> specific browser like (IE, Chrome, etc.)? 
>>>>
>>>> I looks like mongoose fires the default browser used in the local PC. 
>>>> Is there any way to let it fire anything else than the default browser?
>>>>
>>>> My case scenario: using mongoose to start and index.html file.
>>>>
>>>> Any help is highly appreciated.
>>>>
>>>> Thank you
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "mongoose-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to mongoose-user...@googlegroups.com.
>>>> To post to this group, send email to mongoos...@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/mongoose-users.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "mongoose-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to mongoose-user...@googlegroups.com <javascript:>.
>> To post to this group, send email to mongoos...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/mongoose-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mongoose-users+unsubscr...@googlegroups.com.
To post to this group, send email to mongoose-users@googlegroups.com.
Visit this group at https://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to