At Wed, 9 Mar 2022 19:11:40 -0500 Nathan Stratton Treadway <[email protected]> 
wrote:

> 
> On Tue, Mar 08, 2022 at 18:27:47 -0500, Robert Heller wrote:
> > 
> > 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).
> 
> Does it still hang if you pass an argument "-ointeractivity=''" when you
> exec amtape?

Did not try that.

> 
> If it does still hang, what do "lsof -p" and "strace -p" show on the
> amtape process while it's stuck?
> 
>                                                       Nathan
> 
> ----------------------------------------------------------------------------
> Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic region
> Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
>  GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
>  Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239
> 
>                   
> 

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[email protected]       -- Webhosting Services
                                                                                
                                       

Reply via email to