Failed to execute child (v0.2)

The script/file I want to run with Terminal Emulator → VASSAL.sh , but, when I run it I get the error message - Failed to execute child - so I run the Terminal within the folder and writes two commands

chmod +x VASSAL.sh
./VASSAL.sh

And it works, next time I run it I have to do it all over again for it to work

what am I not doing right? How can I make VASSAL.sh run every time?

Ulrik

From where and how do you “extract” file VASSAL.sh? Is it a new file every time?

Note that you can simply run command

bash ./VASSAL.sh

Hej Manuel

VASSAL : I believe it is called a emulator, it’s a way to play board games online, in my case the board game Advanced Squad Leader, anyway I use VASSAL to do so, you can see what it is here - www.vassalengine.org

I download the latest version, right now it is VASSAL-3.7.15-linux.tar.bz2 and extract it to a folder of the same name (VASSAL-3.7.15) the folder is the “game” or emulator. To start playing and to do so I have to run VASSAL.sh using the terminal (run as a program)

And here is where it goes wrong >failure to execute child< and I do not know how to fix it, I am a newbie in CAPITAL LETTERS - hope this cast some light on my problem

when you say: bash ./VASSAL.sh - what is ‘bash’ and how/where do I run the command?

OK, thanks for the explanation.

An easier way to install vassal is:

yay -S vassal

since it is in the AUR (i.e. Arch User Repository).

Note: the version of the AUR package is currently 3.7.14. To get the latest vassal engine, you can run the following commands:

cd /tmp
yay -Ga vassal
cd /tmp/vassal

# in file PKGBUILD this line changes pkgver value from 3.7.14 to 3.7.15:
sed -i PKGBUILD -e 's|pkgver=3.7.14|pkgver=3.7.15|'

# now build the package
makepkg -cf

# then install it (if build was OK)
sudo pacman -U vassal-*.pkg.tar.zst

Now you should have a .desktop file in your start menu which can be used for starting vassal.

Note: I didn’t really try these commands fully, so if something doesn’t work, please let me (or others here) know.

Disclaimer: please note that any AUR package is not supported by EndeavourOS nor Arch teams. They are supported only by the (unknown) user who added it in the AUR, so using it is at your own risk.

bash is a command interpreter that knows how to execute *.sh files. But you don’t need that if you use the AUR package as explained above.

1 Like

Hej Manuel

Thank you so very much, it works
:grinning: :grinning:

Ulrik

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.