lib/trace-component.rb in canzea-0.1.44 vs lib/trace-component.rb in canzea-0.1.45
- old
+ new
@@ -61,10 +61,10 @@
if @test == false
t1 = Time.now
begin
- workingDir = Canzea::config[:catalog_location]
+ workingDir = "#{Pathname.new(Canzea::config[:catalog_location]).realpath}/catalog"
puts "-- Executing [#{workingDir}] #{l}"
Dir.chdir(workingDir){
Open3.popen3(l) {|stdin, stdout, stderr, wait_thr|
pid = wait_thr.pid # pid of the started process.
\ No newline at end of file