Runs a script path as if it had been run directly, as much as possible.
This should just be __filename (for CJS) or import.meta.filename (for ESM).
__filename
import.meta.filename
This should be the bin name of the package that is calling this function. Set to undefined if there isn't one.
undefined
@augment-vir/node
Runs a script path as if it had been run directly, as much as possible.