Changeset 56ae398


Ignore:
Timestamp:
2008-12-21T18:35:24Z (11 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
7258d34
Parents:
6b9cab1
Message:

replace /dev/null with os.devnull in skyped

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skyped.py

    r6b9cab1 r56ae398  
    280280                pid = os.fork()
    281281                if pid == 0:
    282                         nullin = file('/dev/null', 'r')
    283                         nullout = file('/dev/null', 'w')
     282                        nullin = file(os.devnull, 'r')
     283                        nullout = file(os.devnull, 'w')
    284284                        os.dup2(nullin.fileno(), sys.stdin.fileno())
    285285                        os.dup2(nullout.fileno(), sys.stdout.fileno())
Note: See TracChangeset for help on using the changeset viewer.