This project is archived and is in readonly mode.

#2244 ✓resolved

script runner should overwrite $0

Reported by Kiyoshi | March 16th, 2009 @ 12:15 AM | in 3.x

When loading Ruby code from a file, script/runner should rename $0 (and $PROGRAM_NAME) to that file name.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>


Referenced by