Hi,

trying to execute an EXTERNAL command, which needs to run with ADMIN privs on 
WINDOWS. The output is a long TEXT (many lines)
    
    
    import osproc
    
    let commando = "dostool.com * "
    
    # Output string and error code
    let (lsalStr, errCode) = execCmdEx(commando)
    
    echo "Error code: " & $errCode
    echo "Output: " & lsalStr
    
    
    Run

will NOT work.

... also ... the OUTPUT can be huge ... ideally I would love to just "pipe" it 
into my NIM process and process one line after another ..

Any ideas / pointers?

Robert

Reply via email to