This commit is contained in:
2023-12-23 22:23:48 +08:00
commit 43ced8bd2a
58 changed files with 5702 additions and 0 deletions

12
ACMOJ-1447.cpp Normal file
View File

@ -0,0 +1,12 @@
#include <iostream>
#include "ACMOJ-1447.hpp"
void print(int argc,char** argv){
for(int i=0;i<argc;++i)
std::cout<<i<<": "<<argv[i]<<std::endl;
}
int main(){
final::shell shell;
shell.run(0,"echo 'Hello,world'",print);
shell.subprocessExit(0,0);
return 0;
}