Questions tagged [user-environment]

10 questions
5
votes
1 answer

R EnvironmentError: Could not find Ghostscript on path. RWebLogo

I ran into an odd issue that I cannot fix in any way and I was hoping someone here may have a better understanding of whats wrong; I am unable to use RWebLogo package - even run the simplest examples due to the same missing Ghostscript error. e.g.…
alexo4
  • 351
  • 3
  • 8
3
votes
1 answer

Using CreateProcessAsUser in python does not pass the user's environment to the created process

First thank you for your time reading this question. I start an app executable (lets call it MyApp.exe) successfully from my windows service under the Interactive user using the following code: #MyWindowsService.py console_session_id =…
Navid
  • 251
  • 1
  • 12
3
votes
1 answer

'Run As...' doesn't correctly create user environment

My C# application crashes under some circumstances when run with a non-admin user. I'm experiencing a problem with Windows Server 2003 and I'm trying to find more information about it. It may be a problem on other Windows OS's. It seems that if I…
Scott Langham
  • 58,735
  • 39
  • 131
  • 204
3
votes
1 answer

CreateEnvironmentBlock returning block too large for CreateProcessWithLogon on windows vista

I'm using microsoft's CreateProcessWithLogonW function to run a program as a specific user. In almost all of our test scenario's everything is great. Our code is similar to the example on microsoft's page. The problem arises on windows vista. We…
0
votes
2 answers

Windows Vista Programmatically remap user directories

I re-image one of my machines regularly; and have a script that I run after the OS install completes to configure my machine; such that it works how I like. I happen to have my data on another drive...and I'd like to add code to my script to change…
bryansh
  • 293
  • 2
  • 8
0
votes
1 answer

R Shiny - dataset load in a first chunk doesn't exist in a second chunk ...?

I have a strange error in a shiny app I built with the library learnr. An error "Object not found" about an object I just loaded and just visualized (meaning the object exists no ?) Although I don't have a reproducible example, some of you will…
demarsylvain
  • 2,103
  • 2
  • 14
  • 33
0
votes
1 answer

Echo user environement variable details in commandline, viz JAVA_HOME, PATH

When JAVA_HOME is not set, then echo command will display the command instructions as it is: C:\>echo %JAVA_HOME% %JAVA_HOME% To set the user environment variables, used setx command to do it. setx JAVA_HOME "C:\jdk-8u172" SUCCESS: Specified value…
Vivaswan
  • 337
  • 4
  • 17
0
votes
2 answers

Chef cookbook - copy file to local user with '~' ruby variable

Well, let's start by saying I'm a chef noob and I am trying to hash this code out. I am in a full mac shop. I am using Chef to automate system wide changes. As I'm new, I'm rolling it out onto our Mac AV systems. Basically, there is a folder on a…
E.Z.
  • 139
  • 2
  • 14
0
votes
1 answer

How to relocate Canopy user environment for a reinstallation?

I want to relocate the Canopy (windows 64-bit) user environment to a different disk, but after uninstalling Canopy and deleting the old environment directory, the re-installation insists on building the environment in the old location again. Is…
0
votes
1 answer

actionscript determine user environment

is it possible using actionscript to determine what operating system the flash projector is running on...I'm producing a swf that is to run from a cd-rom and so will be published as an .exe for windows and a .app for mac...parts of the presentation…
davidsleeps
  • 9,393
  • 11
  • 59
  • 73