mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
For blocking read test, use a pipe rather than stdin ... in case the tests
are being run as a batch job with no stdin. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39815 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d9e4ebfe40
commit
f04dd1b322
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@
|
|||
|
||||
[timer invalidate];
|
||||
|
||||
fh = [NSFileHandle fileHandleWithStandardInput];
|
||||
fh = [[NSPipe pipe] fileHandleForReading];
|
||||
[nc addObserver: self selector:@selector(notified:)
|
||||
name: nil object:fh];
|
||||
[fh readInBackgroundAndNotify];
|
||||
|
|
Loading…
Reference in a new issue