Home Download Buy Blog Forum Support

Semicolon in parameters for build system

Semicolon in parameters for build system

Postby Vasilich on Fri Jul 12, 2013 3:33 pm

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:
Code: Select all
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?
Vasilich
 
Posts: 3
Joined: Fri Jul 12, 2013 3:22 pm

Re: Semicolon in parameters for build system

Postby Vasilich on Thu Jul 18, 2013 7:23 am

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?
Vasilich
 
Posts: 3
Joined: Fri Jul 12, 2013 3:22 pm

Re: Semicolon in parameters for build system

Postby iamntz on Thu Jul 18, 2013 7:32 am

How do you run build commands?

Via cmd or shell_cmd key?

See
http://docs.sublimetext.info/en/latest/ ... stems.html vs
http://www.sublimetext.com/docs/3/projects.html (although shell_cmd might work only on projects, this may help)
iamntz
 
Posts: 915
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Semicolon in parameters for build system

Postby Vasilich on Thu Jul 18, 2013 8:53 am

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?
Vasilich
 
Posts: 3
Joined: Fri Jul 12, 2013 3:22 pm


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 22 guests