added stacktrace-pruning to command-execution. fixes #55