This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/9850] dtrace: Incorrect shell execution
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 16 Feb 2009 13:54:23 -0000
- Subject: [Bug runtime/9850] dtrace: Incorrect shell execution
- References: <20090215212534.9850.eugen@debian.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.