Changeset 3514
- Timestamp:
- Jul 4, 2007, 2:16:32 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/sys-apps/prefix-portage/pym/portage/__init__.py
r3513 r3514 2372 2372 raise ValueError(fd_pipes) 2373 2373 # bird: XXX: pty and termios.tcgetattr doesn't work/exist on OS/2 yet. 2374 2374 if sys.platform == "os2knix": 2375 2375 pr, pw = os.pipe() 2376 fd_pipes.setdefault(0, sys.stdin.fileno()) 2376 2377 mypids.extend(portage.process.spawn(('tee', '-i', '-a', logfile), 2377 2378 returnpid=True, fd_pipes={0:pr, 1:fd_pipes[1], 2:fd_pipes[2]})) 2378 2379 os.close(pr) 2379 2380 fd_pipes[1] = pw 2380 2381 fd_pipes[2] = pw 2381 2382 keywords["fd_pipes"] = fd_pipes 2382 2383 else: 2383 2384 from pty import openpty 2384 2385 master_fd, slave_fd = openpty() … … 2434 2435 fd_pipes[2] = slave_fd 2435 2436 keywords["fd_pipes"] = fd_pipes 2436 2437 2437 2438 features = mysettings.features 2438 2439 restrict = mysettings.get("PORTAGE_RESTRICT","").split()
Note:
See TracChangeset
for help on using the changeset viewer.