[Gambas-user] Issue 494 in gambas: 100% cpu use when using SHELL (FOR READ) and on a process that redirects stdout

gambas at ...2524... gambas at ...2524...
Thu Jan 9 15:12:30 CET 2014


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 494 by Kokok... at ...626...: 100% cpu use when using SHELL (FOR  
READ) and on a process that redirects stdout
http://code.google.com/p/gambas/issues/detail?id=494

1) i get 100% cpu use when using SHELL (FOR READ) and on a process that  
redirects stdout

2)
Version: 3.5.1
Operating system: Linux
Distribution: ArchLinux
Architecture: x86
GUI component: no gui
Desktop used: KDE

Just try this code on a cli project:


' Gambas module file

Public myprocess As Process

Public Sub Main()
   myprocess = Shell "ls >/dev/null" For Read As "myprocess"
End

'

And you will get 100% cpu use indefinitely.
By replacing "For READ" with "FOR INPUT", the issue is gone; maybe this is  
not a bug, but expected, but in previous gambas versions i've never  
encountered this issue.


-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the User mailing list