Article 5RC64 [SOLVED] last step to make script fully work

[SOLVED] last step to make script fully work

by
Arch4GoodieLike
from LinuxQuestions.org on (#5RC64)
Code:#!/bin/bash -e

#path to select.sh
SelectPath="~/startup-script/"

# Run game.py
gnome-terminal -- sh -c "python3 game.py; bash"

# Wait until the terminal's child exist
wait
exec "${SelectPath}"./script.shonly thing left to include now is to make the gnome-terminal that launched the game to close once the game is closed.latest?d=yIl2AUoC8zA latest?i=l74NzrgaKB4:W6-ctGQQHEQ:F7zBnMy latest?i=l74NzrgaKB4:W6-ctGQQHEQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=l74NzrgaKB4:W6-ctGQQHEQ:gIN9vFwl74NzrgaKB4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments