On 1 February 2013 03:31, AlainC
<acor...@tftlabs.com> wrote:
Good news...
One question however: what do you mean by "Windows console" ?
I mean the window used by the Windows Command Prompt.
Do we need to use "start /wait" from the command line, or something else ?
You can use that, but you don't have to.
For example, the following works from the Command Prompt on my system:
C:\Users\mseaborn>start "" /wait "\Users\mseaborn\AppData\Local\Google\Chrome SxS\Application\chrome.exe" --enable-logging --enable-nacl
http://plash.beasts.org/nacl/hello.html
[4404,6968:16:30:12.392000] Native Client module will be loaded at base address 0x0000075500000000
[4404,6604:16:30:12.468000] NaClAbiStatHostDescStatXlateCtor: Unusual NaCl descriptor type (not constructible). The NaCl app has a file with st_mode = 020000. (This is normal for std{in,out,err}, or other inherited/injected files.)
Hello, world!
Hello, world! (stderr)
[4404,6040:16:30:12.470000] NaCl untrusted code called _exit(0x0)
If you omit the 'start "" /wait' part, the output will still work, but cmd.exe will print a command prompt immediately after starting Chrome, and Chrome's output will be interleaved with cmd.exe's output, which can be a little confusing.
Mark