DoShell should actually run the command, not simply run a shell.
The argtest.tst test is still broken because the script command apparently isn't doing the variable substitution; that's probably my fault.
The argtest.tst test is still broken because the script command apparently isn't doing the variable substitution; that's probably my fault.