Re: Problem with amtape "hanging" when forked from Java
Exuvo <[email protected]>
| Newsgroups | gmane.comp.archivers.amanda.user |
|---|---|
| Message-ID | <[email protected]> |
Could you give the exact command line you give when it hangs?
Anton "exuvo" Olsson
[email protected]
On 2022-03-09 00:27, Robert Heller wrote:
> For some unfathomably reason amtape "hangs" when forked from a Java program.
>
> I've written a Java program that goes through vaulted tapes and forks amtape
> (using Runtime.getRuntime().exec(()), and when a non-existant tape label is
> asked for, amtape "hangs". I cannot figure out why or how to get amtape to
> just exit with an error (which I can then handle).
>
> This is with Amanda 3.5.1 on a Ubuntu 18.04 system.
>
> (The Java version is OpenJDK 11.0.13, in case that matters.)
>