Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 420 Bytes

File metadata and controls

23 lines (18 loc) · 420 Bytes

This repo has been moved to Gitlab and is no longer maintained here.

command_piping

Execute a command and get result back as a string.

Example

cout << RDI::execute_command("cowsay hi") + '\n';

output:

 ____
< hi >
 ----
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||