Sublime Forum

Semicolon in parameters for build system

#1

Hi,
i recently tried to use Sublime as IDE for some of my old projects written in Omega Pascal. It has compiler working on OS9 (that has nothing to do with Apple!) runtime. For it to use i need to pass parameters to os9app.exe as following:

os9app.exe shell  ;chd cmds\osoft; load -d ll ra pc_fe p$ ; chd $project_path ; make $file_name

i can’t force sublime to use exatcly this string:

  1. all semicolons are removed before passing parameters to the app.
  2. count of spaces is also important. i haven’t managed to get 2 spaces on row - either sublime cut them (or at least one), or inserts double apostrophes (") surrounding parameters with spaces.
    3 dollar ($) signs also seem to be removed from parameters.

Is there any chance to send such strings from sublime’s build system?

0 Likes

#2

i tried to debug sublime’s build system making batch file that echoes all the parameters to console, and have seen that all semicolons just get cut:(
Does anyone see any chance for my specific compiler?

0 Likes

#3

How do you run build commands?

Via cmd or shell_cmd key?

See
docs.sublimetext.info/en/latest/ … stems.html vs
sublimetext.com/docs/3/projects.html (although shell_cmd might work only on projects, this may help)

0 Likes

#4

i tried both, without any difference.
I need to get semicolons and extra spaces in command line, and that appears to be impossible with sublime?

0 Likes