Skip to content

Commit 6a7b3aa

Browse files
committed
Merge pull request #27 from telerik/jasssonpet/logging-with-spaces
Fix logging when there are spaces in the app path.
2 parents a875ec2 + 6a2e73a commit 6a7b3aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/iphone-simulator.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/iphone-simulator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export class iPhoneSimulator implements IiPhoneSimulator {
270270
var future = new Future<string>();
271271
var logPath = path.join(path.dirname(appPath), "." + path.basename(appPath, ".app") + ".log");
272272

273-
var command = util.format("rm -f %s && mkfifo %s", logPath, logPath);
273+
var command = util.format("rm -f \"%s\" && mkfifo \"%s\"", logPath, logPath);
274274
child_process.exec(command, (error: Error, stdout: NodeBuffer, stderr: NodeBuffer) => {
275275
if(error) {
276276
future.throw(error);

0 commit comments

Comments
 (0)