Yes, both of those work. I didn't use the first one because I already had a shared file handle so no need to create another one. I didn't use the second one because it doesn't allow me to wait; I have to loop sleeping and checking.
But they are both good techniques to know. Thanks.
- tye (but my friends call me "Tye")In reply to (tye)Re2: Temporary files and cleaning up after an interruption
by tye
in thread Temporary files and cleaning up after an interruption
by mischief
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |