I’m toying with Process & co, and I’ve encountered this compiler error
|
|
E:/mx2-103/base.buildv1.0.3/build_cache/desktop_debug_windows/base_base.cpp: In function 'void bbMain()': E:/mx2-103/base.buildv1.0.3/build_cache/desktop_debug_windows/base_base.cpp:112:25: error: 'class bbProcess' has no member named 'readStderr' l_stderr=f0.l_lp->readStderr(); ^ |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#Import "<std>" #Import "<mojo>" #Import "<libc>" Using std.. Using mojo.. Using libc.. Function Main() local lp:=New Process Local stdout:String,stderr:String lp.Start("e:\mx2-103\bin\mx2cc_windows.exe")'this depends on local installation If lp Print "LP started..." End If Repeat stdout=lp.ReadStdout() stderr=lp.ReadStderr() If stdout Print "OUT: <"+stdout+">" If stderr Print "ERR: <"+stderr+">" If Not stdout Print "Nothing... ";Exit Until False End |