[Info-vax] Backup API mailbox oddity

Stephen Hoffman seaohveh at hoffmanlabs.invalid
Thu Jan 11 16:24:50 EST 2018


On 2018-01-11 20:55:19 +0000, osuvman50 at gmail.com said:

> On Thursday, January 11, 2018 at 11:57:34 AM UTC-5, Stephen Hoffman wrote:
>> Based on what I see here, I'd just spawn BACKUP directly and capture 
>> errors via the termination mailbox.
> If I use system() to spawn the command, it still requires a preceding 
> EOF. If I use LIB$SPAWN(), it requires 2 EOFs before sending the 
> filenames.  If I use LIB$SPAWN but make the mailbox the spawn's 
> SYS$INPUT and specify sys$input/inputfiles on the backup command, it 
> also requires 2 spurious EOFs.

If it wasn't entirely clear, I was suggesting spawning the BACKUP 
command directly, not the tool that calls the BACKUP API...




-- 
Pure Personal Opinion | HoffmanLabs LLC 




More information about the Info-vax mailing list