D:\perl\scratch>(start flock_test.pl) && (perl -e "sleep 2") && (echo "foo" > sem.lck) The process cannot access the file because it is being used by another process. #### D:\perl\scratch>(start flock_test.pl) && (perl -e "sleep 2") && (flock_test.pl) Opened file Printed Got lock