From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28434 invoked by alias); 15 Feb 2009 21:25:53 -0000 Received: (qmail 27919 invoked by uid 48); 15 Feb 2009 21:25:35 -0000 Date: Mon, 16 Feb 2009 12:16:00 -0000 From: "eugen at debian dot org" To: systemtap@sources.redhat.com Message-ID: <20090215212534.9850.eugen@debian.org> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/9850] New: dtrace: Incorrect shell execution X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00445.txt.bz2 dtrace -G uses shell to execute gcc: call("gcc -fPIC -c " + fn + " -o " + filename, shell=True) This makes directories with spaces problematic: % mkdir a\ directory % cd a\ directory % touch test.d % ../dtrace -G -s $PWD/test.d gcc: directory/test.o: No such file or directory Better way is to use python equivalent of execlp(3) or execvp(3). -- Summary: dtrace: Incorrect shell execution Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: runtime AssignedTo: systemtap at sources dot redhat dot com ReportedBy: eugen at debian dot org 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.