Commit 373be36c authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/tgbatest/ltl2baw.pl (END): Ensure LTL2TGBA is always

closed.
parent 665216b0
2004-02-13 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbatest/ltl2baw.pl (END): Ensure LTL2TGBA is always
closed.
2004-02-11 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-02-11 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbatest/ltl2tgba.cc (syntax): Recognize "-" as input * src/tgbatest/ltl2tgba.cc (syntax): Recognize "-" as input
......
...@@ -96,6 +96,11 @@ else ...@@ -96,6 +96,11 @@ else
open(LTL2TGBA, "| ./ltl2tgba -T -X -"); open(LTL2TGBA, "| ./ltl2tgba -T -X -");
} }
END {
# This also waits for ltl2tgba's termination.
close(LTL2TGBA) || die "error closing pipe to ltl2tgba";
}
my @args = dquote @ARGV; my @args = dquote @ARGV;
open(LTL2BA, "ltl2ba -d @args |") || die "failed to run ltl2ba"; open(LTL2BA, "ltl2ba -d @args |") || die "failed to run ltl2ba";
...@@ -203,7 +208,6 @@ else ...@@ -203,7 +208,6 @@ else
print_state($src); print_state($src);
} }
} }
close(LTL2TGBA)
### Setup "GNU" style for perl-mode and cperl-mode. ### Setup "GNU" style for perl-mode and cperl-mode.
## Local Variables: ## Local Variables:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment