[mira_talk] Re: specifying working directory without actually cd'ing into it?

  • From: Evan <evan@xxxxxxxxxxx>
  • To: mira_talk@xxxxxxxxxxxxx
  • Date: Tue, 20 Dec 2011 11:03:13 -0800

I've tried:

   - --cwd=myasm   and also --cwd="$PWD/myasm"
   - where $PWD=/media/hd2/my test dir with spaces
   - As well as a hard coded: "/media/hd2/my test dir with spaces/myasm"
   - As well as a hard coded: "/media/hd2/my test dir with spaces/myasm/"
   - As well as a hard coded: "/media/hd2/my\ test\ dir\ with\ spaces/myasm"
   - As well as a hard coded: "/media/hd2/my\ test\ dir\ with\
   spaces/myasm/"

Any other ideas?

Thanks


On Mon, Dec 19, 2011 at 11:13 AM, Evan <evan@xxxxxxxxxxx> wrote:

> Yes, but it still doesn't seem to like the file path.
>
>
> On Mon, Dec 19, 2011 at 11:08 AM, Peter Cock <p.j.a.cock@xxxxxxxxxxxxxx>wrote:
>
>> On Mon, Dec 19, 2011 at 6:47 PM, Evan <evan@xxxxxxxxxxx> wrote:
>> > Bastien, is it possible to pass a relative directory to the --CWD
>> parameter?
>> >  I've been trying but it seems as though it's maybe adding a leading
>> "/" to
>> > the CWD variable I'm passing.
>> > It might also have something to do with spaces in my directory name. Is
>> this
>> > a no no or am I doing something wrong?
>> >
>>
>> Have you quoted or escaped the directory name with spaces?
>>
>> Peter
>>
>> --
>> You have received this mail because you are subscribed to the mira_talk
>> mailing list. For information on how to subscribe or unsubscribe, please
>> visit http://www.chevreux.org/mira_mailinglists.html
>>
>
>

Other related posts: