summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-12-19 11:52:00 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2013-12-22 12:06:06 -0500
commit45df48dc08246ad014083f4ecd33246771a18d87 (patch)
tree39a29fc61101ef96d2b344800111014376602f90 /src/main
parent4853a8137879ae61578fbc9eec8494b6df9a7abd (diff)
Fix to interactive mode determination.
Diffstat (limited to 'src/main')
-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