R
Rebhan, Gilbert
Hi,
two questions :
1.
system("T:/cvsnt/cvs.exe", "-d
server:username@cvshost:d:/cvsrepos/test co Foobar")
doesn't work, whereas
system("T:/cvsnt/cvs.exe -d server:username@cvshost:d:/cvsrepos/test
co Foobar")
works
all examples i found had system ("cmd", "args")
is that normal for some executables or is it a buggy behaviour from
cvs.exe ?
2.
my rubyscript lies under C:/cvs.rb
my cvsworkspace =3D T:/cvsworkspace
now i want to fire my cvs command out of the=20
cvsworkspace folder
in a windowshell i would do=3D
T:
cd workspace
T:/cvsnt/cvs.exe -d server:username@cvshost:d:/cvsrepos/test co Foobar
how to emulate that with system(...)
i tried to ; separate it :
system("T:;cd workspace;T:/cvsnt/cvs.exe -d
server:username@cvshost:d:/cvsrepos/test co Foobar")
but that doesn't work
Any ideas ?
Regards, Gilbert
two questions :
1.
system("T:/cvsnt/cvs.exe", "-d
server:username@cvshost:d:/cvsrepos/test co Foobar")
doesn't work, whereas
system("T:/cvsnt/cvs.exe -d server:username@cvshost:d:/cvsrepos/test
co Foobar")
works
all examples i found had system ("cmd", "args")
is that normal for some executables or is it a buggy behaviour from
cvs.exe ?
2.
my rubyscript lies under C:/cvs.rb
my cvsworkspace =3D T:/cvsworkspace
now i want to fire my cvs command out of the=20
cvsworkspace folder
in a windowshell i would do=3D
T:
cd workspace
T:/cvsnt/cvs.exe -d server:username@cvshost:d:/cvsrepos/test co Foobar
how to emulate that with system(...)
i tried to ; separate it :
system("T:;cd workspace;T:/cvsnt/cvs.exe -d
server:username@cvshost:d:/cvsrepos/test co Foobar")
but that doesn't work
Any ideas ?
Regards, Gilbert