c# - Get environment variable from other proccess in Ruby -


i have following task: in c# code i'm running server random port , adding port environmentvarables via

 environment.setenvironmentvariable("port", convert.tostring(fixture.uri.port)); 

and after have port variable ruby rspec code tell tests port should use. there ways this?

environment.setenvironmentvariable default sets target process. should use user or machine target:

environment.setenvironmentvariable("port",                                     convert.tostring(fixture.uri.port),                                     environmentvariabletarget.user); 

msdn documentation


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -