Sublime Forum

"Run" command/build system variant does not produce text output

#1

I have a Sublime Text project that calls “make” as it main build system, and has a variant that runs the compiled program with make. Everything is working fine, but for one thing: my program does not produce any text output to the Sublime Text console (contrary to what happens in a normal terminal window). My project file:

{
“build_systems”:
[
{
“name”: “Launcher”,
“working_dir”: “${project_path}”,
“cmd”: [“make”, “-f”, “launcher.cross.make”],
“variants”:
[
{
“name”: “Run flat 10 reps”,
“cmd”: ["./launcher", “10”, “…/darwin/worlds/darwin_cpgs_noise.wbt”]
}
]
}
]
}

What exactly is the difference between Sublime’s console and a normal command line window? Do I need to recompile the program or can I adapt the project file?

Thanks in advance!

0 Likes