1 #include "Headers/opsys.h"
6 int main(int argc
, char ** argv
)
8 cout
<< "miniSHELL 2 -- github.com/vrmiguel/minishell2\n";
9 CLIInputs(argc
, argv
); // Process command-line arguments
11 SignalHandler sighandler
;
14 if (exit_program
) return 0; // Tests for SIGINT/SIGHUP
17 std::getline(cin
, line
);
19 if (exit_program
) return 0; // Tests for "quit"
22 cout
<< "\nEOF found. Exiting.\n";