Page loading

Share your opinion
What do you think about gambaslinux.fr?
 
Interesting
It miss some informations
Excellent website
Results
WIDGETS GAMBAS
GAMBAS 3 SOFTWARES
TUTORIALS
Library
_gb3.pngEXEC - EXEC command
espace1.jpg



Today,we use EXEC command who consist to execute a terminal command on your system .
We execute command and we put the output text in a textarea.
Create project with a button, a textarea and write this code :
We use the df -h command who display your devices in your computer :

PUBLIC SUB _new()
END
PUBLIC SUB form_OPEN()
' get the contents of a directory into a String
DIM sOUTPUT AS String
exec ["df", "-h"] TO textarea1.text
END
PUBLIC SUB button1_click()
me.CLOSE
END

Now clic on play to execute your aapplication. great !

espace1.jpg

Creation date : 15/12/2008 @ 21:59
Last update : 15/02/2022 @ 08:22
Category : EXEC
Page read 7105 times


Print the article Print the article


react.gifReactions to this article

Nobody gave a comment yet.
Be the first one to do it!


QUICK MENU
SEARCH




LANGUAGE
COMPONENTS
Other
LANGUAGE
Where, who?
VISITS

   visitors

   visitors online

ARCHIVES GAMBAS 1/2
^ Top ^