Search found 1602 matches
- Sunday 26th May 2024 9:01am
- Forum: General
- Topic: Viewing bash/php scripts in real time
- Replies: 16
- Views: 1158
Re: Viewing bash/php scripts in real time
Another option could be to use a TerminalView not a TextArea you could then just run the script in the terminalview and see the normal terminal output. Dim p as Process p = TerminalView1.Shell("my/command") While p.state = Process.Running Wait 0.1 Wend I'll play with terminal view and see...
- Saturday 25th May 2024 12:45am
- Forum: General
- Topic: Viewing bash/php scripts in real time
- Replies: 16
- Views: 1158
Re: Viewing bash/php scripts in real time
Another option could be to use a TerminalView not a TextArea you could then just run the script in the terminalview and see the normal terminal output.
Dim p as Process
p = TerminalView1.Shell("my/command")
While p.state = Process.Running
Wait 0.1
Wend
- Friday 24th May 2024 10:23pm
- Forum: General
- Topic: Viewing bash/php scripts in real time
- Replies: 16
- Views: 1158
Re: Viewing bash/php scripts in real time
Oops sorry use Input not Output hProc = Shell "/path/to/bash_script" For Input As "PROC" :lol: no prob. works now. Another question though...how much data can be input into a textarea component? In some of my tests, there appears to be a clear limit as it ends up crashing the ap...
- Friday 24th May 2024 8:47pm
- Forum: General
- Topic: Viewing bash/php scripts in real time
- Replies: 16
- Views: 1158
Re: Viewing bash/php scripts in real time
Oops sorry use Input not Output
hProc = Shell "/path/to/bash_script" For Input As "PROC"
hProc = Shell "/path/to/bash_script" For Input As "PROC"
- Friday 24th May 2024 8:17pm
- Forum: General
- Topic: Viewing bash/php scripts in real time
- Replies: 16
- Views: 1158
Re: Viewing bash/php scripts in real time
Okay (edited) Private hProc As Process Public Sub RunScript() hProc = Shell "/path/to/bash_script" For Input As "PROC" End Public Sub PROC_Read() Dim sOutput As String sOutput = Read #Last, Lof(Last) TextArea1.Insert(sOutput) TextArea1.EnsureVisible End
- Friday 24th May 2024 7:50pm
- Forum: General
- Topic: Viewing bash/php scripts in real time
- Replies: 16
- Views: 1158
Re: Viewing bash/php scripts in real time
Hi All, I have a project that I've been working for awhile that consists of a main bash script that does several things in order including calling a few php scripts (database stuff) and a few Linux commands (find and comm) and then the script ends and I have a nice chunk of data to either ignore or...
- Thursday 23rd May 2024 11:06am
- Forum: Project showcase
- Topic: Germinal - a terminal with some potential
- Replies: 9
- Views: 4110
Re: Germinal - a terminal with some potential
Improvements in V1.0.13
Custom command menu now supports sub-menus and pictures.
and a treeview to view/edit the order (drag-n-drop)
Picture of the custom command editor..
Custom command menu now supports sub-menus and pictures.
and a treeview to view/edit the order (drag-n-drop)
Picture of the custom command editor..
- Monday 20th May 2024 10:11am
- Forum: General
- Topic: DirView question
- Replies: 2
- Views: 445
Re: DirView question
Have found DirView a handy way of displaying directories. Is there a way to select (in code) a particular directory in the display? Yes by accessing the Dirview's internal TreeView object Public Sub Form_Open() DirView1.ShowHidden = True SelectDir(User.home &/ ".config", DirView1) End...
Re: The wiki
Hi all, I wanted to know how can I register a login for the wiki. Also, I want to ask why on earth do you need to login in order to search? I've never seen a wiki that requires login in order to search for information. Thanks. You register on the bugtracker https://gambaswiki.org/bugtracker Only re...
- Monday 13th May 2024 6:33pm
- Forum: General
- Topic: Is there a more efficient way to set properties of each tab in a tabstrip?
- Replies: 14
- Views: 1631
Re: Is there a more efficient way to set properties of each tab in a tabstrip?
But then after saying all that.... You could just do this...... Here is a simple TabPanel upgrade that if you save this code as a file called TabPanel.class in your project .src folder it will add a "AutoTitle" property to TabPanel. attached is a project that shows it at work. It's really ...