Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 352 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 352 Bytes

Execute Program Libraries

A library for execute program.

Usage

#include "Shell.h"
using namespace Easy;

CString sProgram = _T("C:\\Windows\\system32\\cmd.exe");
CString sArgv = _T("/c date /t");

Shell shell;
shell.Execute(sProgram, sArgv, Shell::CONSOLE);
while(shell.IsRunning()) Sleep(100);
shell.GetOutput(); // 2020/06/23 Thu