This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nonforking process copying


> I've been wondering about the way cygwin forks W32 processes.
> 
> One of the things W32 seems to be unable to do is to let you delete an
> executable file that is being executed (AFAIU, there's a file handle
> opened somewhere within w32 subsystem, preventing that).

Why not just mark the executable file as "delete on close" and rename
it if you want to use the same file name?  You can do both of these with
the file open. What brings you to want to ask this question?

Earnie


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]