spnSourceBlock function

Get the source from a block and optionally execute it