I added a new syntax for delcaring app invocations. You can now say app (file myfile) p() { echo "hi" stdout=@myfile; } instead of (file myfile) p() { app { echo "hi" stdout=@myfile; } } The old syntax still works, though I think it should be made to disappear in the next 6 months or so. --