Another approach is to write the filename (w/ its path) to a file - by forked process, then another process (waiting for the keypress) will simply read the file and get the filename w/ its path. - But I do like it because app. optimimum - that I prefer - forked process will write each file as it processes it, where waiting for key press - only now and then will use the file.
in reply to Re^2: Finding out by one process a filename opened by another process.
in thread Finding out by one process a filename opened by another process.