Sublime Forum

Build system, command exec and buildview: display errors

#1

Hi all :),

since many years I am a happy sublimetext user. This tool I use every day with much joy :slight_smile: .

Unfortunately the last updates did not improve the following problem:

I use custom build systems as well as command/exec based keybindings. The build/command return ist shown in a tab via buildview-plugin.
The problem is some kind of not well working clearing before executing a new command. Sometimes old parts are still there and partly overwritten by the new output. Sometimes the new output is not shown at all.

My keybindings are defined as follows:

{ “keys”: [“f9”], “command”: “exec”, “args”: { “cmd”: ["/bin/bash", “sublime_call_f9.sh”, “rerun”]} },
{ “keys”: [“shift+f9”], “command”: “exec”, “args”: { “cmd”: ["/bin/bash", “sublime_call_f9.sh”, “flashrun”]} },
{ “keys”: [“f10”], “command”: “exec”, “args”: { “cmd”: ["/bin/bash", “sublime_call_f10.sh”]} },

Using “sh” or “/bin/bash” makes no improvement.
The shellscripts called have e.g. this content:

#interrupt gdb
echo -e “\n”
echo -e “\n\n[ run QUIT … ]”
~/shell/gdb_send_sigint.sh

And now the funny output:

File "/media/shared/dRERFLASHRUN\r\n

or

[ run QUIT … ]
[FRERUN
[Finished in 0.0s]

or

[ run QUIT … ]
[FRERFLASHRUN
[Finished in 0.0s]

Instead of something like

[ run QUIT … ]
[Finished in 0.0s]

or

[ run RErun … ]
RERUN
[Finished in 0.0s]

Does somebody has experienced the same issue or has an idea to fix it?
I run the following setup:
Centos7
SublimeText3 Build 3211

Thanks alot :slight_smile: !

Cheers
Flo

0 Likes