[Gambas-user] OUTPUT TO, stdout and command line usage

Bruce Steers bsteers4 at gmail.com
Wed Aug 25 12:14:17 CEST 2021


Aah , sorry fella i didn't quite read the question right did i?

hmm, that's going to be tricky , a pipe is pretty much another function
isn't it , what's to the left of the | is it's own separate command.

there is always a way :)
Experimentation be the mother of progression :)

Respects
BruceS

On Wed, 25 Aug 2021 at 10:26, bb <adamnt42 at gmail.com> wrote:

> Seems good, but I am still struggling with getting the entire command
> line including any pipes added by the user. I can get all the options
> and parameters but not anything after a <, > or |.
> Maybe the shell consumes it?
> b
> On Sun, 2021-08-22 at 12:39 +0100, Bruce Steers wrote:
> > I asked the same a little while while ago.
> >
> > File.In.IsTerm
> >
> > Is true if started from terminal.
> >
> > BruceS
> >
> > On Sun, 22 Aug 2021, 10:51 bb, <adamnt42 at gmail.com> wrote:
> >
> > > (Sigh, just when I thought it was OK to release to a "client")
> > >
> > > How can I detect that the user has started a project with CLI
> > > redirects, i.e. gbx3 myproj > ~/somewhere.txt
> > > before I issue an OUTPUT TO in the startup routine?
> > >
> > > They have to come up with new twists on anything don't they!
> > >
> > > bruce
> > >
> > >
> > > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> > >
> >
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210825/0d03bb36/attachment.htm>


More information about the User mailing list