[Gambas-user] Problem with Shell Gambas 3.10.0

Shannon Kuchler shannon at inflecto.org
Thu Apr 19 19:12:47 CEST 2018


This is the Shell command I'm trying to run



p1 = Shell "steamcmd +login" & " " & UserName & " " & PassWD & " " & "+force_install_dir" & " " & CacheSaveLocation & "/" & dlDat[1] & " " & "+app_update 251570 -beta" & " " & dlDat[1] & " " & "+quit" Wait For Input As "Process"



in console it should look like this 

steamcmd +login username password +force_install_dir dirname/dirname +app_update 251570 -beta dirname  +quit



The problem is on most systems the shell command works just fine but on one system with a fresh install of  arch linux i get this error

/bin/sh: +force_install_dir: command not found




it like it's skipping everything up to +force_install_dir in the command does anyone know why?



I can get it to work like this but  CacheDir is a directory with spaces same thing for dlDat1 it has spaces as well so that's not working either

p1 = Exec ["steamcmd", "+login", UserName, PassWD, "+force_install_dir", CacheDir, "+app_update", "251570", "-beta", dlDat1, "+quit"] For Input As "Process"



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180419/d3f3e2ec/attachment.html>


More information about the User mailing list