dscript.subprock with risk check