summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shell_utils_launcher.h
diff options
context:
space:
mode:
authorAnnie Black <annie.black@10gen.com>2018-09-07 14:44:47 -0400
committerablack12 <annie.black@10gen.com>2018-09-12 11:21:54 -0400
commit8084a0ce51f6af543385e9292d11b6943d6b7cd4 (patch)
tree437dd4a9b32f2712c7a43fec8742ba858ce18f58 /src/mongo/shell/shell_utils_launcher.h
parent97463e76ee061aa048e364aaa2ce1211d9fc4b0d (diff)
downloadmongo-8084a0ce51f6af543385e9292d11b6943d6b7cd4.tar.gz
SERVER-28990 avoid bind on --repair
Diffstat (limited to 'src/mongo/shell/shell_utils_launcher.h')
-rw-r--r--src/mongo/shell/shell_utils_launcher.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/shell/shell_utils_launcher.h b/src/mongo/shell/shell_utils_launcher.h
index 1a38b21c7b1..dd50b56dd94 100644
--- a/src/mongo/shell/shell_utils_launcher.h
+++ b/src/mongo/shell/shell_utils_launcher.h
@@ -120,8 +120,10 @@ class ProgramRunner {
public:
/** @param args The program's arguments, including the program name.
* @param env Environment to run the program with, which will override any set by the local
- * environment */
- ProgramRunner(const BSONObj& args, const BSONObj& env);
+ * environment
+ * @param isMongo Indicator variable, true if runs as a mongo process.
+ */
+ ProgramRunner(const BSONObj& args, const BSONObj& env, bool isMongo);
/** Launch the program. */
void start();
/** Continuously read the program's output, generally from a special purpose thread. */