comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » file in use by another program
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: file in use by another program [message #88100 is a reply to message #88097] Thu, 20 March 2014 02:38 Go to previous message
Rob Klooster is currently offline  Rob Klooster
Messages: 18
Registered: February 2013
Junior Member
This is usually done in other languages by trying to move the file to itself. This gives an IO error when the file is in use. The IDL file_move routine is useless for this however (it will either always succeed or always fail, depending on the ALLOW_SAME keyword). But maybe you can spawn a move/mv process and return its error code. It will be platform dependent though...

Rob.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to choose the pixels along a curve in an image
Next Topic: How to output two images on the widget

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:19:59 PDT 2025

Total time taken to generate the page: 0.00390 seconds