working with execing processes from inside a file