Skip to content

Commit 57eac33

Browse files
author
Daniel Kroening
committed
remove unused run_shell(cmd)
1 parent eec63bb commit 57eac33

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/util/run.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,6 @@ int run(const std::string &what, const std::vector<std::string> &argv)
3737
return run(what, argv, "", "", "");
3838
}
3939

40-
int run_shell(const std::string &command)
41-
{
42-
std::string shell="/bin/sh";
43-
std::vector<std::string> argv;
44-
argv.push_back(shell);
45-
argv.push_back(command);
46-
return run(shell, argv, "", "", "");
47-
}
48-
4940
#ifndef _WIN32
5041
/// open given file to replace either stdin, stderr, stdout
5142
static int stdio_redirection(int fd, const std::string &file)

src/util/run.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,4 @@ int run(
2424
const std::string &std_output,
2525
const std::string &std_error);
2626

27-
int run_shell(const std::string &command);
28-
2927
#endif // CPROVER_UTIL_RUN_H

0 commit comments

Comments
 (0)