I am trying to make a go at cross-platform operation here and starting with 
some basic "put()" commands, e.g.

<snip>
from fabric.api import *

env.roledefs = {
 servers': ['foo1.com', 'foo2.com', 'foo3.com']
}

@roles('servers')
def putfile():
 put('c:\blah.txt', '/tmp/')
 run('touch /tmp/blah.txt')
</snip>


...which bombs out when I try to run it from a Windows cmd prompt. It evaluates 
'c:\blah.txt' to clah.txt. I have tried using double-quotes or escaping the 
non-alpha characters. Can someone shine some light on how I can construct the 
local_file portion to work or will this work at all?

Thanks!

--
 ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
¤ kyoboku kazeoshi ¤
 ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to