Proc
module
command
perl6 -Ilib ./bin/snippet cpp -c clang -r
Input
void func() { }
int main() {
std::cout << func() << std::endl;
}
@@CODEEND
Ouput
Original Code
Hang on
Add code after https://github.com/araraloren/perl6-app-snippet/blob/master/lib/App/snippet.pm6#L120
say $proc.exitcode;
print error message raised an exception