[Gambas-user] No longer possible to write in "gedit" with 'Process'

Jussi Lahtinen jussi.lahtinen at ...626...
Tue Oct 1 21:37:46 CEST 2013


Oh, sorry it does write on one of the opened documents.
And it works correctly if there is not any instances of gedit before
running that code (also in that way no error messages).

Jussi


On Tue, Oct 1, 2013 at 10:31 PM, Jussi Lahtinen <jussi.lahtinen at ...626...>wrote:

> Doesn't work here either.
>
> It will only open two new documents with nothing on them.
> And following error message:
> (gedit:19717): GLib-GIO-CRITICAL **: g_dbus_connection_get_capabilities:
> assertion `G_IS_DBUS_CONNECTION (connection)' failed
>
> $ gedit --version
> gedit - Version 3.6.2
>
> Jussi
>
>
>
> On Tue, Oct 1, 2013 at 5:37 PM, Ru Vuott <vuott at ...325...> wrote:
>
>> Hello,
>>
>> at one time I could write a string in "gedit" by using 'Process' with the
>> following simple code:
>>
>> *********************************************
>> Private pr As Process
>>
>>
>> Public Sub Form_Open()
>>
>>   pr = Shell "gedit" For Write
>>
>> End
>>
>>
>> Public Sub Button1_Click()
>>
>>   Print #pr, "Arma virumque cano qui primus..."
>>
>> End
>> *********************************************
>>
>> Today, I saw that code with "Process" does not work anymore, and I do not
>> know why, neither of which version the problem started.
>>
>>
>> Best regards
>>
>> vuott
>>
>>
>> ------------------------------------------------------------------------------
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
>> from
>> the latest Intel processors and coprocessors. See abstracts and register >
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>



More information about the User mailing list