When stepping in the debugger, it works fine.
When running normally, the second command has a tendency not to run.
adding a file pointer AND reading from it seems to allow the second
command to run more consistently.
this relies on deprecated functionality yet it's the easiest way to do it.
At some point, should try to move vmnet_helper to be a launchd service
which is the preferred way to do rooty things.