Re: [Lazarus] Mac OS X : Using TProcess to launch Unix command to Copy a Directory

2008-06-21 Thread Dominique Louis
Mattias Gaertner wrote: > On Mon, 19 May 2008 20:26:43 +0100 > Dominique Louis <[EMAIL PROTECTED]> wrote: > >> Hi all, >>I'm passing the following command to a TProcess instance... >> >> cp -R /SomePath/MyGame.app /SomePath/MyNewGame.app >> >> via it's command line property, but it did not wor

Re: [Lazarus] Mac OS X : Using TProcess to launch Unix command to Copy a Directory

2008-05-19 Thread Mattias Gaertner
On Mon, 19 May 2008 20:26:43 +0100 Dominique Louis <[EMAIL PROTECTED]> wrote: > Hi all, >I'm passing the following command to a TProcess instance... > > cp -R /SomePath/MyGame.app /SomePath/MyNewGame.app > > via it's command line property, but it did not work. Did you try the full filename?

Re: [Lazarus] Mac OS X : Using TProcess to launch Unix command to Copy a Directory

2008-05-19 Thread Vincent Snijders
Dominique Louis schreef: > Hi all, >I'm passing the following command to a TProcess instance... > > cp -R /SomePath/MyGame.app /SomePath/MyNewGame.app > > via it's command line property, but it did not work. > Maybe you should give a full path for cp. So /bin/cp -R /SomePath/MyGame.app /Some

[Lazarus] Mac OS X : Using TProcess to launch Unix command to Copy a Directory

2008-05-19 Thread Dominique Louis
Hi all, I'm passing the following command to a TProcess instance... cp -R /SomePath/MyGame.app /SomePath/MyNewGame.app via it's command line property, but it did not work. I then tried fpsystem, passing it the same string and it also fails with a 16384 error, which I've spent the last half h