This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/9850] dtrace: Incorrect shell execution


------- Additional Comments From mjw at redhat dot com  2009-02-16 13:54 -------
I made it so that call passes a list of arguments so that spaces aren't a
problem in:

commit c0d0d86876a3763492b3f4054961e9c850e9c216
Author: Mark Wielaard <mjw@redhat.com>
Date:   Mon Feb 16 14:50:02 2009 +0100

    PR 9850, use a list of arguments for call.

But you will still have to quote things like $PWD on the command line to get
them as whole arguments to python (otherwise the shell seems to split them into
multiple arguments anyway). So using this now works:
../dtrace -G -s "$PWD/test.d"
as does
../dtrace -G -s ../a\ directory/test.d

Is this enough?

I am not sure how to get the behaviour you want without quoting the $PWD
variable in the shell.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=9850

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]