From: Alan Knowles Date: Sun, 27 May 2012 08:44:41 +0000 (+0800) Subject: WindowLog.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=3e98eda8dabb7f7919f71bd3a5ce7386df9ba4fe;p=gitlive WindowLog.js --- diff --git a/WindowLog.js b/WindowLog.js index a0f15a72..e6cd0b73 100644 --- a/WindowLog.js +++ b/WindowLog.js @@ -62,7 +62,8 @@ WindowLog = { var app = aw.get_application(); var pid = app.get_pid(); //print("PID " + pid); - var cmd = File.realpath('/proc/'+ pid + '/exe'); + //var cmd = File.realpath('/proc/'+ pid + '/exe'); + var cmd = File.read('/proc/'+ pid + '/cmdline'); if (!this.win || (this.win && win != this.win)) {