blob: 52378a4375b88ce261e3a5c1078b355774a53aa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
File Descriptors after fork()
-------------------------------
When opening a file::
fcntl(fd, F_SETFD, FD_CLOEXEC);
In python, you can pass the ``close_fds`` argument to subprocess.Popen() to
close all file descriptors just after fork().
date in seconds-since-epoch
-----------------------------
From the command line:
date '+%s'
|