correct subprocess directives