编辑器

更新调试
This commit is contained in:
JianjunLiu 2023-09-28 18:26:31 +08:00
parent 2180824362
commit eebcbe897f
4 changed files with 19 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -925,6 +925,7 @@ type TTslDebuga=class(TCustomControl)
return;
end
case magicgetarray(d,array("result","CmdType"))of
//"ErrorReport": array("result","CmdText")
"attachlist":
begin
r := magicgetarray(d,array("result","CmdData"));

View File

@ -1,3 +1,20 @@
#!/bin/bash
LOCKFILE=/tmp/$(basename "$0").lock
if [ -e ${LOCKFILE} ] && kill -0 `cat ${LOCKFILE}`; then
echo " $0 already running"
exit
fi
# 确保退出时,锁文件被删除
trap "rm -f ${LOCKFILE}; exit" INT TERM EXIT
#将当前程序进程id写入锁文件
echo $$ > ${LOCKFILE}
# 做你需要的事情
export GDK_BACKEND=x11
export LD_LIBRARY_PATH=../;../TSL ../exec_tsl/tsleditor.tsl -libpath ../designer/
export LD_LIBRARY_PATH=../;../TSL ../exec_tsl/tslediter.tsl -libpath ../designer/
# sleep 1000
# 删除锁文件
rm -f ${LOCKFILE}