Skip to content

Commit 532af94

Browse files
committed
removing debug couts
1 parent 9db8b12 commit 532af94

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/shell.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ void Shell::run() {
3030
if(auto* command = commandFactory.get(cmd)) {
3131
command->execute(args);
3232
} else {
33-
std::cout << "Executing custom command: " << cmd << std::endl;
3433
bool customCommandFound = executeCustomCommand(cmd, args);
3534
if (!customCommandFound) {
3635
std::cout << cmd << ": command not found" << std::endl;
@@ -49,9 +48,7 @@ bool Shell::executeCustomCommand(const std::string& cmd, const std::string& args
4948
while ((end = pathEnvStr.find(':', start)) != std::string::npos) {
5049
std::string dir = pathEnvStr.substr(start, end - start);
5150
std::string fullPath = dir + "/" + cmd;
52-
std::cout << "Checking: " << fullPath << std::endl;
5351
if (access(fullPath.c_str(), X_OK) == 0) {
54-
std::cout << "found" << std::endl;
5552
system((cmd + " " + args).c_str());
5653
return true;
5754
}

0 commit comments

Comments
 (0)