You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I Compile and Execute Single "Hello, world" fortran file use ⌘+R, it will take a long time (more than 1 minute) to response and run the terminal to display the result. While if I just Compile it ⌘+B, it will response quickly.
Would you please help? My TextMate is 2.0-alpha.9497.
The text was updated successfully, but these errors were encountered:
The main difference in the two commands is that one uses AppleScript to run the resulting compiled output. AppleScript does have some startup lag but it shouldn't be longer than a few seconds.
The only thing I can think of is that Applescript is taking too long to find Terminal or TextMate for compiling the script, are you having any issues with application launching or such?
No, I don't have such problem. My SSD drive works well, and every application launches very quick either from Spotlight or double click in /Application folder.
I think I may already figured out the issue. my iTerm is iTerm2, and I modified the original Applescript code to following:
osascript <<EOF
tellapplication"iTerm"make new terminal
tellthe current terminal
activate current session
launch session "Default Session"tellthelast session
# write text "cd '$TM_DIRECTORY'; ./${TM_FILENAME%.*}"writetext"cd '$TM_DIRECTORY'; ./a.out"end tellend tellend tell
EOF
When I Compile and Execute Single "Hello, world" fortran file use ⌘+R, it will take a long time (more than 1 minute) to response and run the terminal to display the result. While if I just Compile it ⌘+B, it will response quickly.
Would you please help? My TextMate is 2.0-alpha.9497.
The text was updated successfully, but these errors were encountered: