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);
Comments
Post a Comment