Fixing bugs on WIndows, starting other platforms
This commit is contained in:
parent
09f7d8dc9a
commit
17c53d03d5
3 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
# Welcome to windows Gitable's config !
|
||||
# Select here the path of the git executable (if you did
|
||||
# not modify it while installing git, it should work.)
|
||||
executable_path: "C:\\Program Files\\Git\\bin\\git.exe"
|
||||
executable_path: "C:\\PROGRA~1\\Git\\bin\\git.exe"
|
|
@ -1,4 +1,4 @@
|
|||
# Welcome to windows Gitable's config !
|
||||
# Select here the path of the git executable (if you did
|
||||
# not modify it while installing git, it should work.)
|
||||
executable_path: "C:\\Program Files\\Git\\bin\\git.exe"
|
||||
executable_path: "C:\\PROGRA~1\\Git\\bin\\git.exe"
|
|
@ -29,8 +29,9 @@ class Windows extends GitClient {
|
|||
*/
|
||||
public function gitExec(string $args) : string {
|
||||
chdir($this->dir);
|
||||
echo "$this->executable " . $args . " ";
|
||||
$process = proc_open(
|
||||
"\"$this->executable\" " . $args,
|
||||
"$this->executable " . $args,
|
||||
array(
|
||||
0 => array("pipe", "r"), //S TDIN
|
||||
1 => array("pipe", "w"), //S TDOUT
|
||||
|
@ -116,7 +117,7 @@ class Windows extends GitClient {
|
|||
public function initcheck() {
|
||||
$this->executable = $this->main->getConfig()->get("executable_path");
|
||||
$process = proc_open(
|
||||
"\"$this->executable\" --version",
|
||||
"$this->executable --version",
|
||||
array(
|
||||
0 => array("pipe", "r"), //S TDIN
|
||||
1 => array("pipe", "w"), //S TDOUT
|
||||
|
|
Loading…
Reference in a new issue