std.process: spawnProcess

Russel Winder russel at winder.org.uk
Fri Sep 7 16:44:09 UTC 2018


On Fri, 2018-09-07 at 16:05 +0000, Dr.No via Digitalmars-d-learn wrote:
> 
[…]
> You also can use WINAPI's job object. It will close the registred 
> process, even if the application exit abruptly. I have, by now, 
> only a link to a C# example how do that but I believe you can 
> convert to D easily.
> 
> 
https://stackoverflow.com/questions/6266820/working-example-of-createjobobject-setinformationjobobject-pinvoke-in-net

I guess this might work on Windows, but I am on Linux and OSX, so I'll have to
try another route.

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20180907/6931791a/attachment.sig>


More information about the Digitalmars-d-learn mailing list