force coredump from child created by subprocess
-----BEGIN PGP SIGNED MESSAGE-----
Hi, I am running a process using subprocess and detect if the process
crashes using .returncode. I would like to force coredumps being created
regardless of the system settings, eg run "ulimit -c unlimited" in the
I've had no luck using preexec_fn and os.system, it just made no
difference. I could probably add a thin wrapper script but I'm not very
fond of that idea.
Is there some easy way to force the childprocess to create a coredump if
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
|All times are GMT. The time now is 03:45 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.