[OT] Set temp location for a called process

2012-07-02 Thread Ian Thomas
I'm creating a process (from .NET) that uses python 2.7 to do some stuff, and would prefer that its temporary file space is somewhere other than the default on the C: drive. As you can imagine, with SSD drives in common usage, writing large temporary files could potentially cause some problems.

Re: [OT] Set temp location for a called process

2012-07-02 Thread Corneliu I. Tusnea
var processStart = new System.Diagnostics.ProcessStartInfo(c:\app.exe, some arguments); processStart.EnvironmentVariables[TEMP] = @D:\mycustomtemp; var process = new System.Diagnostics.Process(); process.StartInfo = processStart; process.Start(); On Mon, Jul 2, 2012 at 7:58 PM, Ian Thomas

RE: [OT] Set temp location for a called process

2012-07-02 Thread Ian Thomas
Corneliu, that's great - I continually forget that .StartInfo has all the Sets in it, whereas Process has only the Gets. I'll give it a try. _ Ian Thomas Victoria Park, Western Australia From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of

[OT] Anyone using Kinect?

2012-07-02 Thread Ian Thomas
Is anyone using Kinect? Where is the hardware on sale in Oz? _ Ian Thomas Victoria Park, Western Australia