#1423 Space in filename no longer executes

Bug
closed-fixed
SciTE (625)
5
2013-01-17
2012-12-03
Anonymous
No

In older version (3.0.2) I could create a file with spaces, "test file.bat" for example, and then F5 would run the commands in the file. With newer versions I get this error:
'test' is not recognized as an internal or external command,

The command is no longer quoted when executed. This is on windows 7.

Related

Bugs: #1431

Discussion

  • Neil Hodgson

    Neil Hodgson - 2012-12-30
    • assigned_to: nobody --> nyamatongwe
    • milestone: --> Bug
    • status: open --> open-fixed
     
  • Neil Hodgson

    Neil Hodgson - 2012-12-30

    Previous versions set the current directory to the directory of the file before trying to run it but this was removed because it interfered with other features.
    CreateProcess appears to make a check of the current directory to find a file match and this isn't done now. Placing quotes around the file name appears to fix the problem:
    command.go.*.bat="$(FileNameExt)"

    Fix committed.

     
  • Neil Hodgson

    Neil Hodgson - 2013-01-17
    • status: open-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks