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]>:


2016-06-09 15:42 GMT+02:00 Sabine Manaa <[hidden email]>:
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
�� �� 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]
To unsubscribe from Pharo Smalltalk Users, click here.
NAML



View this message in context: Re: OSProcess command - non responding image when calling often
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.