from a windows command navigated to git bin folder one can execute: bash.exe –login -i to start a nice shell if this line is given another parameter its assumed to be a script file which is executed. Additional arguments are passed to the script file as arguments. bash.exe –login -i “myscript.sh” “arguments”
Archive for the ‘Windows’ Category
running a bash script from windows command using bash installed by git for windows
By thomas in GIT, WindowsProblems with windows 7. Record interactions with the windows program psr
By thomas in WindowsProblemer med windows? Kender du Windows 7 kommandoen “psr”? Det er muligvis et værktøj andre end mig vil finde yderst interessant når computeren lige pludselig opfører sig mærkeligt. “psr” er et program der optager skærmbilledet og registrerer tastetryk. Har du et problem med et program der ikke opfører sig som du forventer så start “psr” […]
setting up git mergetool on windows
By thomas in GIT, WindowsOne possible merge tool for windows is kdiff3 which works great. after installing kdiff3 git needs to be set up. This blog post describes it (http://www.blog.project13.pl/index.php/coding/1192/setup-git-on-windows-to-use-kdiff3-as-its-mergetool/) but its repeated here: add the following to .gitconfig [merge] tool=kdiff3 [mergetool “kdiff3”] path = C:/Program Files/KDiff3/kdiff3.exe keepBackup = false trustExitCode = false
Tags: .gitconfig, git mergetool, kdiff3
Make QT 5 detectable by cmake on windows
By thomas in C++, cmake, qt, Visual Studio 2013, WindowsIt seems that for cmake to be able to find the needed qt .cmake files it’s sufficient to add the qt bin folder to the path env variable (e.g. C:\Qt\5.3\msvc2013_64_opengl\bin)
Qt creator and perhaps visual studio 2013 is missing include directories and other env variables
By thomas in C++, c++, Visual Studio 2013, WindowsSymptom: Cant compile any programs and compiler complaining about missing standard header files such as stddef.h diagnose: in QT creator go to project settings and inspect environment variables. There should be e.g an INCLUDE variable. If not the vcvarsall.bat file that is accompanying VS is not run propable. Following this post: http://schrievkrom.wordpress.com/2011/01/25/error-cannot-determine-the-location-of-the-vs-common-tools-folder/ it seems that the […]
Tags: qt creator, stddef.h