Skip to content

Exec not running in order from top down in config file? #4635

Answered by Airblader
Momijie asked this question in Q&A
Discussion options

You must be logged in to vote

We do execute them in order (though we don't guarantee that), but we don't wait for them to finish before running the next one. Doing so would obviously be problematic, because it'd mean that your second terminal doesn't open until you close the first one again.

What you have here is a classic race condition. How long it takes from executing some binary until a window opens depends on many things, not the least of which is the application itself (who's to say it opens any windows, or when it does so?)

What you're looking for is layout saving and restoring.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by orestisfl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants