and it seems that on windows the problem does not exist.
So I could use OSSubprocess on unix and OSProcess on windows.

2016-06-10 9:25 GMT+02:00 Sabine Manaa <manaa.sab...@gmail.com>:

> Hi Nicolai,
>
> Thanks! I stopped all ZnServers with
> WAServerManager default stopAll.
>
> Then I can do
> Delay delaySchedulerClass: DelayMillisecondScheduler.
> without problems.
>
> 20 timesRepeat: [OSProcess  command: ('echo "Hi there"').] .
> here, the problem persists -> locking image
> your code with OSSubprocess is working fine.
>
> @Mariano: it seems to be another problem with the locks in OSProcess
> because after changing the delaySchedulerClass, I get locking images with
> the OSProcess command: ....
>
> Regards
> Sabine
>
>
>
>
>
>
> 2016-06-09 19:13 GMT+02:00 Nicolai Hess-3-2 [via Smalltalk] <[hidden
> email] <http:///user/SendEmail.jtp?type=node&node=4900273&i=0>>:
>
>>
>>
>> 2016-06-09 15:42 GMT+02:00 Sabine Manaa <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=4900191&i=0>>:
>>
>>> Hi
>>>
>>> @mariano:
>>> "Did you test if the one-liner (Delay delaySchedulerClass:
>>> DelayMillisecondScheduler.)  fixes these lookups? "
>>>
>>> -> my config loads materialDesignLite (which loads seaside and
>>> magritte). after loading this
>>> and trying the one liner, my image does not respond anymore.
>>> you can reproduce it when taking a new image and loading material design
>>> lite
>>> (no catalog entry yet)
>>>
>>> Gofer new
>>>     url: 'http://smalltalkhub.com/mc/KevinLanvin/MaterialDesignLite/main'
>>>  ;
>>>     package: 'ConfigurationOfMaterialDesignLite';
>>>     load.
>>>
>>> ((Smalltalk at: #ConfigurationOfMaterialDesignLite) project version:
>>> #development) load.
>>> (proceed at the deprecated warnings for subString:)
>>>
>>> then try the one liner. Image does not respond anymore.
>>>
>>
>> I think there is a running ZnServer, that does not like this change on
>> the delay class.
>> Can you stop (terminate) the server and try again the change on the Delay
>> scheduler class.
>>
>> @ben, do you think the call to the scheduler class change needs another
>> step to make sure no process (like the ZnServer) is hanging?
>>
>>
>>>
>>>
>>> @Paul, I took a new image, I loaded OSProcess from catalog browser and
>>> did the change.
>>>
>>>
>>> | aio |
>>> (aio := Smalltalk at: #AioEventHandler)
>>> ifNotNil: [ aio startUp: resuming ].
>>> OSProcessAccessor initialize.
>>> "resuming ifTrue: [" self initializeThisOSProcess "]" (problem persists
>>> with and without code in ")
>>>
>>> 20 timesRepeat: [OSProcess  command: ('echo "Hi there"').]
>>>
>>> No - the problem persists.
>>>
>>> I will stay at pharo4 for several weeks and the try again.
>>> If I can help fixing the problem I will do - please tell me what to do.
>>>
>>> Regards
>>> Sabine
>>>
>>
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>>
>> http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4900191.html
>> To start a new topic under Pharo Smalltalk Users, email [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=4900273&i=1>
>> To unsubscribe from Pharo Smalltalk Users, click here.
>> NAML
>> <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> ------------------------------
> View this message in context: Re: OSProcess command - non responding
> image when calling often
> <http://forum.world.st/OSProcess-command-non-responding-image-when-calling-often-tp4899540p4900273.html>
> Sent from the Pharo Smalltalk Users mailing list archive
> <http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html> at Nabble.com.
>

Reply via email to