<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Kapil,<br>
Do you have a test case?<br>
<br>
Are you using the Kepler devel tree?<br>
<br>
Attached is a Kepler .xml file from the devel version of Kepler that
uses a String Constant to call echo with multiple arguments that
have double quotes around them.<br>
<br>
<br>
BTW - The Exec actor comment says:<br>
<br>
<blockquote type="cite"> /** The command to be executed. The
command is parsed
by
<br>
* {@link
ptolemy.util.StringUtilities#tokenizeForExec(String)}
<br>
* into tokens and then executed as a separate
subprocess.
<br>
* The initial default value is the
string
<br>
* <code>echo "Hello,
world."</code>.
<br>
*
<br>
* <p>The command parameter is read only once during
fire().
<br>
* If you want to spawn another different
command,
<br>
* use life cycle management actors such
RunCompositeActor.</p> <br>
</blockquote>
<blockquote type="cite"> */<br>
public PortParameter command;</blockquote>
<br>
tokenizeForExec could be causing you problems.<br>
<br>
<br>
_Christopher<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/18/12 1:56 AM, Kapil Kulkarni
wrote:<br>
</div>
<blockquote
cite="mid:D3865AECE729264EA14D068F66D16675173D762E@HJ-MBX2.persistent.co.in"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We are trying out kepler in one of project
and have an issue related to shell script.<o:p></o:p></p>
<p class="MsoNormal">We are using ExternalExecution actor and
the command which is shell script is as follows:<o:p></o:p></p>
<p class="MsoNormal">"sh /home/user/annotation.sh
"/root/Programs/ " test.jar "eff hg19 -s " "test.annotate""<o:p></o:p></p>
<p class="MsoNormal">In the command above, we want to execute
annotations.sh shell script and pass 3 arguments to it -
"/root/Programs/ " test.jar "eff hg19 -s " "test.annotate"<o:p></o:p></p>
<p class="MsoNormal">But what we found that these arguments are
not getting passed at all. What could be the issue? Or do we
need to provide anything else?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks and Regards,<o:p></o:p></p>
<p class="MsoNormal">Kapil<o:p></o:p></p>
</div>
<p>DISCLAIMER
==========
This e-mail may contain privileged and confidential information
which is the property of Persistent Systems Ltd. It is intended
only for the use of the individual or entity to which it is
addressed. If you are not the intended recipient, you are not
authorized to read, retain, copy, print, distribute or use this
message. If you have received this communication in error,
please notify the sender and delete all copies of this message.
Persistent Systems Ltd. does not accept any liability for virus
infected mails.</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kepler-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: 510.643.9841 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670 </pre>
</body>
</html>