Skip to content

Make it run on cygwin - #3

Open
nkvenom wants to merge 1 commit into
yuvadm:masterfrom
nkvenom:rerun_file_fix
Open

Make it run on cygwin#3
nkvenom wants to merge 1 commit into
yuvadm:masterfrom
nkvenom:rerun_file_fix

Conversation

@nkvenom

@nkvenom nkvenom commented Oct 25, 2015

Copy link
Copy Markdown

When pyp is executed in cygwin generates an error that cannot create the rerun file because the path gets generated with a double slash at the beginning.

The fix was to remove the trailing slash so it runs both in linux and cygwin.

…le slash at the beginning which causes problems in cygwin
@yuvadm

yuvadm commented Oct 26, 2015

Copy link
Copy Markdown
Owner

This breaks behavior for other systems where /tmp is the canonical tempdir. Your fix pollutes the current working dir, so I won't merge this.

@yuvadm yuvadm closed this Oct 26, 2015
@nkvenom

nkvenom commented Oct 26, 2015

Copy link
Copy Markdown
Author

No, it doesn't, it gets generated at /tmp normally. It's that cygwin get confused with the double slash at the beginning. The path for tempdir file its determined through the function tempfile.gettempdir(). But it's your call

@yuvadm yuvadm reopened this Oct 26, 2015
@yuvadm

yuvadm commented Oct 26, 2015

Copy link
Copy Markdown
Owner

Sorry about that, my bad, it's indeed a double slash. I'll reopen the PR but I'm still not inclined on merging it since this repository is technically a mirror, not a fork.

Perhaps this is a good candidate for inclusion in the branch discussed in #2 ?

@nkvenom

nkvenom commented Oct 26, 2015

Copy link
Copy Markdown
Author

Ok, I get it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants