Sublime Forum

How can I use Sublime Text to directly run a program from a remote system?

#1

I have some troubles with running SAS programs from remote unix system by using the
Sublime Text. I was wondering if anyone is using
this software and can do me a favor. I have no idea about the basic
setting of build system. What I could found in the default setting file
has the following codes, but the codes were basically for local PC SAS
program.

{
“err-regx”: “(^(error|warning:)|uninitialized|[^l]remerge|Invalid data for)(?! (the .{4,15} product with which|your system is scheduled|will be expiring soon, and|this upcoming expiration.|information on your warning period.))”,
“sas-args”:
[
“-nologo”,
“-noovp”
],
“sas-path”: “C:\Program Files\SAS\SASFoundation\9.2\sas.exe”
}

I will be very much grateful if someone can help with this issue.Many thanks!

0 Likes

#2

Do you know how to run the program from the command line ?
If yes put it in a script, and call that script using the Sublime build system.

Also your code snippet looks like a plugin configuration because the actual way of creating a build system is a bit different: http://docs.sublimetext.info/en/latest/reference/build_systems/basics.html#example

0 Likes