19/05/2023: A causa di un errore sono stati cancellati, insieme ad account creati da bot, alcuni account legittimi. Si prega di leggere qui: https://www.gambas-it.org/smf/index.php?topic=9733.0
DIM Comando AS StringDIM Processo AS Process Comando = "crei la stringa del tuo comando" Processo = SHELL (Comando) WAIT
DIM Comando, Risultato AS String Comando = "crei la stringa del tuo comando" SHELL Comando TO Risultato '--gestisci il risultato .......
Gambas interpreter was not designed to be multi-threaded at all.What sort of background process people want to do during their application? I never had such a need.
FOR EACH item IN sourceIF IsDir(item) THEN MKDIR destination &/ File.Name(item) FOR EACH subitem IN RDir(item, "*") IF IsDir(item &/ subitem) THEN MKDIR destination &/ File.Name(item) &/ subitem ELSE COPY item &/ subitem TO destination &/ File.Name(item) &/ subitem ENDIF NEXT ELSE TRY COPY item TO destination &/ File.Name(item)ENDIF NEXT