[Gambas-user] Stopping a CLI program
Tobias Boege
taboege at ...626...
Wed Dec 11 15:28:36 CET 2013
On Wed, 11 Dec 2013, Tobias Boege wrote:
> On Wed, 11 Dec 2013, John Rose wrote:
> > Tobias,
> >
> > Thank you for your reply.
> >
> > The reason for my using "-f x11grab" as one parameter (rather than 2
> > parameters of "-f" & "x11grab") to the Exec command is that I was
> > thinking of that string as being one parameter to ffmpeg. It would help
> > if the documentation had an Exec example with these type of parameters
> > as Unix command line programs often use parameters consisting of a
> > hyphen followed by a letter followed by a value.
> >
>
> There is. To the bottom of the page, we have
>
> Exec ["ls", "-la", "/tmp"] Wait
>
> which is exactly this pattern.
>
Oh! No, it isn't _exactly_ this pattern, as "/tmp" is a parameter to the
program itself, not a value to an option to the program... I will add an
explanation...
Regards,
Tobi
More information about the User
mailing list