Permalink
Browse files

fixed issue with creating tc server instances on windows with non-adm…

…in user
  • Loading branch information...
martinlippert committed Aug 9, 2012
1 parent dae94f0 commit e29fe7901c05b975afcda66f974e67c2daba0b35
@@ -26,7 +26,10 @@
private static final String[] ENVIRONMENT = new String[] {
String.format("JAVA_HOME=%s", System.getProperty("java.home")),
- String.format("PATH=%s", System.getenv("PATH")) };
+ String.format("PATH=%s", System.getenv("PATH")),
+ String.format("USERDOMAIN=%s", System.getenv("USERDOMAIN")),
+ String.format("USERNAME=%s", System.getenv("USERNAME")),
+ String.format("USERPROFILE=%s", System.getenv("USERPROFILE")) };
private final OutputWriter[] standardOutputWriters;

0 comments on commit e29fe79

Please sign in to comment.