-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chromium command-line logging flags behave differently when specified in package.json #5671
Comments
@danielmackenzie , I tried the latest |
@Christywl , I just tried with version 0.20.3 and got slightly different behaviour. On launch, I get our main window plus one prompt that looks like this: Any idea what might be causing this? |
Sorry, I didn't meet this error. @rogerwang , could you please help take a look at this? |
This is fixed in git and will be available in the next nightly build. |
I still experience this issue with nwjs 0.21.5 on Windows 8.1 and Windows 10: This is not happening on Windows 7 (64 and 32 Bit) There is no difference wether the command line option goes into @danielmackenzie Can you confirm that the bug is not resolved? |
@danielmackenzie Please re-open this issue. |
v0.25.0-beta1 also contains this bag. package.json:
I create exe with command:
and run app.exe from explorer. There is additional console window. If i run app.exe from CMD, there is no this console window. |
v0.25.2 also opens a cmd window... |
just fixed the console window in git. |
Great work!
|
NW.js version 0.16.1
Windows 10
Software written on Mac OS 10.12.2
I am experiencing different behaviour when using Chromium's
--enable-logging
flag as part of a NW.js application. On a Windows 10 machine, specifying the logging flag as part of the package.json"chromium-args": "--enable-logging --v=1"
spawns two extra prompt windows in addition to the main window. This behaviour does not occur on Windows 7.Searching the Chromium documentation suggested adding the
--no-sandbox
flag would solve this issue. Adding it to the package.json file did not change the behaviour.However, providing the logging flag through the command line and not in the package.json file yields the desired result.
"App Name.exe" --enable-logging --v=1
The log file is generated as expected and no extra windows are spawned on launch. Why is there a difference when I specify the argument on the command line vs. in the chromium-args section of the package.json file? And secondly, how can I get the desired behaviour by specifying everything in the package?
Same question posted on SO: http://stackoverflow.com/questions/41880316/nw-js-chromium-logging-flags-behave-differently-when-specified-in-package-json
The text was updated successfully, but these errors were encountered: