use createProcess instead of system and find matched pdf file not using wildcard