Ticket #530 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Can't run a script with zero arguments

Reported by: rhebus Owned by:
Priority: minor Milestone:
Component: editor Version: 0.45
Keywords: Cc:


If the Edit->Preferences->Run Parameters->Script Arguments text box is empty, the script still gets an @ARGV with one argument, which seems to be an empty string. There is no obvious way to run a script with zero arguments, such that scalar @ARGV == 0.

Change History

comment:1 Changed 5 years ago by rhebus

Bug present as of version 0.45 r7795.

comment:2 Changed 5 years ago by Sewi

  • Status changed from new to closed
  • Resolution set to fixed

Done in r7798

Note: See TracTickets for help on using tickets.