Revision 2ed0e208 lib/impexpd/__init__.py
b/lib/impexpd/__init__.py | ||
---|---|---|
262 | 262 |
dd_cmd.write(" && ") |
263 | 263 |
|
264 | 264 |
dd_cmd.write("{ ") |
265 |
# Setting LC_ALL since we want to parse the output and explicitely
|
|
266 |
# redirecting stdin, as the background process (dd) would have /dev/null as
|
|
267 |
# stdin otherwise |
|
265 |
# Setting LC_ALL since we want to parse the output and explicitly |
|
266 |
# redirecting stdin, as the background process (dd) would have |
|
267 |
# /dev/null as stdin otherwise
|
|
268 | 268 |
dd_cmd.write("LC_ALL=C dd bs=%s <&0 2>&%d & pid=${!};" % |
269 | 269 |
(BUFSIZE, self._dd_stderr_fd)) |
270 | 270 |
# Send PID to daemon |
Also available in: Unified diff