jackxiao / jslibs

Automatically exported from code.google.com/p/jslibs
0 stars 0 forks source link

CreateProcess :: how wait end of process #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
so then ?

Original issue reported on code.google.com by oolmf...@gmail.com on 11 Dec 2008 at 9:24

GoogleCodeExporter commented 9 years ago
LoadModule('jsstd');
LoadModule('jsio');

var p = new Process( 'c:\\windows\\System32\\cmd.exe', ['/c', 'dir', 'c:\\'] );
p.Wait();
Print( p.stdout.Read(), '\n' );

Original comment by sou...@gmail.com on 11 Dec 2008 at 10:50

GoogleCodeExporter commented 9 years ago
thanks... 
undocumented !

Original comment by oolmf...@gmail.com on 11 Dec 2008 at 11:48

GoogleCodeExporter commented 9 years ago
The current documentation match the latest released version.
Else you can look at the code
(http://code.google.com/p/jslibs/source/browse/trunk/src/jsio/process.cpp) for 
each
"/**doc" comments.

Original comment by sou...@gmail.com on 12 Dec 2008 at 9:51