diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2013-12-19 11:52:00 -0500 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2013-12-22 12:06:06 -0500 |
commit | 45df48dc08246ad014083f4ecd33246771a18d87 (patch) | |
tree | 39a29fc61101ef96d2b344800111014376602f90 /src/main | |
parent | 4853a8137879ae61578fbc9eec8494b6df9a7abd (diff) |
Fix to interactive mode determination.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/driver_unified.cpp | 2 |
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); |