Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^6: Private temporal files on Windows

by Corion (Patriarch)
on Dec 20, 2014 at 09:11 UTC ( [id://1110906]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Private temporal files on Windows
in thread Private temporal files on Windows

You could try to use the technique from FDPasser to pass the filehandle as a string in %ENV to the helper process... But then I guess you could pass the information via %ENV already :-/

Replies are listed 'Best First'.
Re^7: Private temporal files on Windows
by salva (Canon) on Dec 20, 2014 at 11:10 UTC
    Well, that led me into using OpenProcess+DuplicateHandler to get the handler from the perl process into the helper and it works!

    On the other hand, how secure is that? I guess only processes from the same user would be able to reopen handlers.

    I will post a link to the code once I clean it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1110906]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-23 22:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found