summaryrefslogtreecommitdiff
path: root/src/main/driver_unified.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/driver_unified.cpp')
-rw-r--r--src/main/driver_unified.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/driver_unified.cpp b/src/main/driver_unified.cpp
index 1922455d6..d1baaa2e9 100644
--- a/src/main/driver_unified.cpp
+++ b/src/main/driver_unified.cpp
@@ -237,7 +237,7 @@ int runCvc4(int argc, char* argv[], Options& opts) {
// Parse and execute commands until we are done
Command* cmd;
bool status = true;
- if(opts[options::interactive]) {
+ if(opts[options::interactive] && inputFromStdin) {
#ifndef PORTFOLIO_BUILD
if(!opts.wasSetByUser(options::incrementalSolving)) {
cmd = new SetOptionCommand("incremental", true);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback