So, a few months ago, trapped at home, I dug an old Raspberry Pi 2, out of a drawer, and found it was still working. I set it up as a home samba server and media centre, and all was fine,
I wanted to add some more features, and needed to write some code. QB64 seemed to be the best choice. BASIC was the first language I learned, back in the early 70's, I have QB64 installed on both Windows and Linux, which I tend to use when I can't find an existing way to do something.
QB64 is now installed on the Pi, and seemed less painless than the last time I tried it, compiled on the 4th attempt - less than 2 hours overall.
The initial "Hello World" program compiled and ran fine.
I realise that this is not officially supported, but wondered if anyone could help. I have two problems:
1: the IDE is broken when set to full screen, but seems OK otherwise
2: SHELL is not working as a statement or function - I can't tell if it is starting a shell but not passing the execution string, or not starting the shell. There is no error.
This is a biggie - without shell I cannot do what is needed. I want to simplify and automate some actions.
For example, my VPN provider requires that IPV6 be disabled before starting VPN, and I have to edit their config file to insert the details of the server I want to connect to.
I want to simplify this procedure, and that cannot be achieved without SHELL
Obviously, the compiled BASIC program itself is running in a shell, but seems either unable to create a sub shell or pass an executable string to a sub shell.
The problem may be nothing to do with QB64 - maybe a permissions problem somewhere.
I would be gratefully for any pointers.