Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Exec failing when there are spaces in parameters
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jason Jarrett  
View profile  
 More options Aug 8 2012, 2:20 pm
From: Jason Jarrett <sta...@gmail.com>
Date: Wed, 8 Aug 2012 11:20:59 -0700
Local: Wed, Aug 8 2012 2:20 pm
Subject: Re: Exec failing when there are spaces in parameters

You might give one of the following a try...

       Exec { $msdeploy -verb:sync -source:package="$package" -dest:dest}

The above sometimes doesn't work (haven't figured out when/why it
does/doesn't)

Or

       Exec { $msdeploy -verb:sync "-source:package=$package" -dest:dest}

It's just a guess, but hope one of these might help.

On Wed, Aug 8, 2012 at 1:07 AM, ER <sam...@electricocean.co> wrote:
> Hi Guys

> I am trying to use Exec to run msdeploy and having some issues. One of the
> parameters -source: has spaces in its value i.e.
> Exec { $msdeploy -verb:sync -source:package=$package -dest:dest}

> $package may have spaces in the path like c:\some data\package files\

> How do I handle this?

> --
> You received this message because you are subscribed to the Google Groups
> "psake-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/psake-users/-/xWg3zlCUUPgJ.
> To post to this group, send email to psake-users@googlegroups.com.
> To unsubscribe from this group, send email to
> psake-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/psake-users?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.