Hi,

I have the following stax job to run a piece of python code to replace a 
string, and save the content to "Silk_Temp.inc".  I can't find "SIlk_Temp.inc". 
Where is it?

<script>
str_to_replace = 'C:/Program Files (x86)/Fekete/'
str_to_find = 'O:/FAST/Harmony/{VERSIONSTRING}/'
source_include='D:/Silk/Apps/Harmony/Include_Harmony.inc'
dest_include='C:/Include_Harmony.inc'
python_script='D:/DistributionTesting/SilkTestDistribution/UpdateSilkInclude.py'
</script>

<process>
<location>'local'</location>
<command>'python'</command>
<parms>'%s %s %s %s' % (python_script, str_to_find, str_to_replace, 
dest_include)</parms>
<stderr mode="'stdout'"/>
<returnstdout/>
</process>

I also found out in the python code, it is impossible to write line to a file 
with full path.

Can you please help me out?

Thanks,

Cindy

Attachment: UpdateSilkInclude.py
Description: UpdateSilkInclude.py

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to