[wingide-users] testing whether code is running in Wing

Wing IDE Support support at wingware.com
Thu Aug 1 20:59:40 EDT 2013


On 8/1/13 8:47 PM, Mitchell L Model wrote:
> Does this work for simply executing the file in Wing?

No, WINGDB_ACTIVE is for debugging only.  I don't think there's anything 
similar when a file is executing as a subprocess; we try not to let 
anything that Wing sets to bleed through to subprocesses.  You could set 
something in your Project Properties' environment and test for that.

Cheers,

John


More information about the wingide-users mailing list