William Irish
The story is based on a novel by William Irish (aka Cornell Woolrich). The book also became a 1947 film, "Fear in the Night", made by the same writer-director . "Nightmare" had been the original title of "Fear in the Night".