Is it possible to launch lazarus from a applescript? I have tried but not succeeded. Se code below
I was thinking of a .command script instead but is it possible to launch lazarus from terminal (tcsh)
without X11 open?
The non-working X11 script:
on run
tell application "Finder"
activate application "X11"
set theCommand to "export DISPLAY=':0.0';/usr/local/share/lazarus/lazarus > /dev/null 2>&1 &"
with timeout of 100 seconds
do shell script theCommand with administrator privileges
end timeout
end tell
end run