Questions tagged [system-paths]

49 questions
1
vote
1 answer

Refresh System Environment Variables for all processes without Logout/ Restart in C++

I am writing a program in c++ that adds a new directory to the path environment variable for the system. The directory is successfully added with the RegSetValueEx() function but the changes are not reflected for all processes. I have tried…
1
vote
2 answers

Geckodriver NOT recognized despite being in System PATH

Summary: Geckodriver seemingly isn't recognized despite that it is accurately set in the SYSTEM PATH Current System Configuration: Operating System: Windows 10; Version: 1909; OS build: 18363.752; System type: 64-bit OS Windows System…
cikent0715
  • 11
  • 1
  • 4
1
vote
1 answer

Cant't find content of Python37-32\Scripts on path while path is configured

I cant access contents of "C:\Program Files (x86)\Python37-32\Scripts" on the commandline but i have configured it as a user path. When i installed a Python package using Pip i got an warning message that the install location of the package was not…
woldgrep
  • 97
  • 2
  • 12
1
vote
1 answer

How to find Mac documents path (language independent)

I need to find the documents folder path using golang on MacOS. I can do like this: docsPath := os.Getenv("HOME") + "/Documents" But I don't know if "Documents" is a valid solution for other OS languages. What if the Mac is Italian language? Is…
Volker
  • 428
  • 4
  • 15
1
vote
0 answers

Unable to copy file from Directory A to Directory B fopen()

I'm currently working on a problem that is a C program to allow me to keep directories in sync. The jist of it is: If a file is in Directory A and not in Directory B, copy the file to Directory B. If the file is in both Directory A and Directory B,…
M Dey
  • 75
  • 1
  • 1
  • 7
1
vote
1 answer

How Can I install two version of opennlp?

I want to install opennlp-1.6.0 and opennlp-1.5.3 on windows i've tried it like this, added the system variables and the path when I open the command prompt and type opennlp, output is as expected C:\>opennlp OpenNLP 1.6.0. Usage: opennlp TOOL …
user4894151
1
vote
1 answer

codename one where put sd card files in debug progress

I am trying to read a file located in my phone with the FileSystemStorage class: is = FileSystemStorage.getInstance().openInputStream(updateFilePath); But i don't know where to put this updateFilePath in my local machine for development, so for…
EliuX
  • 11,389
  • 6
  • 45
  • 40
1
vote
0 answers

CodeIgniter browser only display system_path and application_path

My project works before in Ubuntu, but recently I moved it to Mac. After configuring Apache, the website finally doesn't give any errors. But the browser only displays: $system_path = '../system'; $application_folder = '../application'; No matter…
Joe Zhang
  • 11
  • 1
1
vote
4 answers

Python open filename from custom PATH

Similar to the system path, I want to offer some convenience in my code allowing a user to specify a file name that could be in one of a handful of paths. Say I had two or more config paths ['~/.foo-config/', '/usr/local/myapp/foo-config/'] And my…
ThorSummoner
  • 16,657
  • 15
  • 135
  • 147
1
vote
1 answer

Browserify compiling to full system paths (using watchify & gulp)

I am coming from AMD and seem to already be doing something wrong. I have made a setup like this: client/js/index.js (entry point) client/js/test.js I want it to build to: build/app.js index.js requires in test.js like this: var test =…
Dominic
  • 62,658
  • 20
  • 139
  • 163
1
vote
2 answers

should I symlink the C++ include directory so that it also appears under /usr/include?

I'm using Cygwin32 on Win7 64. I have g++ and libstdc++ installed. The C++ includes are located at /usr/lib/gcc/i686-pc-cygwin/4.8.2/include/c++/tr1/ - but nowhere under /usr/include. Is it reasonable to place them, by symlink, under /usr/include?…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
0 answers

Ruby C extension dependencies

Problem I have an intuitive understanding of the difference between dynamic and static libraries. That said, I'm trying to write a C Extension that makes use of a third party library. I have compiled this library both statically and dynamically and…
1
vote
0 answers

Messed system paths and cannot start apps

I edited /etc/paths, putting the local directories on top, and now I cannot run commands in terminal, including sudo, and am afraid this will affect the system outside terminal. Trying to solve it, I have commented out everything and sourced…
jmm
  • 11
  • 4
0
votes
1 answer

How do I build a non one file exe and add it to system PATH from a python script?

Any other answer would just add the exe to the current python session's path, and only "setx" would add it to USER path (erasing previous ones unless u save them somewhere). I'm currently using cx_freeze, and there is an option to add to system path…
0
votes
1 answer

Github Please ensure that /home/actions/azure-kubectl is in your search PATH

After installing KubeCTL and KubeLogin using the following line - id: install-aks-cli run: | az aks install-cli --install-location ${{ inputs.kube-ctl-install-location }} --kubelogin-install-location ${{…
Khu
  • 39
  • 7