question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mac OS with zsh - CompressFiles never ends

See original GitHub issue

Thanks for this package, this is really great.

I am working on some improvements for a project of mine and I have found a problem with the build command.

The CompressFiles function freeze and never finish.

After doing some search, I have found that setting shell = FALSE for the function RunCommand fix the issue.

def RunCommand (commands):
	process = subprocess.Popen (commands, stdout = subprocess.PIPE, stderr = subprocess.PIPE, shell = False)
	out, err = process.communicate ()
	if process.returncode != 0:
		print (out.decode ())
		print (err.decode ())
	return process.returncode

I am on Mac with iTerm2 and ZSH.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kovacsvcommented, May 3, 2021

Done in release 0.7.8.

1reaction
kovacsvcommented, Apr 30, 2021

Ok then, I’ll stop investigation and commit this fix soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compress files from OS X terminal? - macos - Super User
In the Finder, there is this wonderful ability to right click on a file or directory, select compress from the drop-down, and end...
Read more >
Compress and uncompress file archives in Terminal on Mac
If the archive isn't compressed, it usually just ends in .tar. Tip: It's easier to compress or uncompress files directly in the Finder...
Read more >
Compress files & folder in the Terminal Command Line in ...
How to compress and uncompress files and folders in macOS via the Terminal/command line using zip, tar.gz, tar.bz2 and dmg formats.
Read more >
Compress without .DS_Store and __MACOSX - Ask Different
I am looking for a solution by context menu if possible. Is there any solution that you can recommend for clean compressing? macos...
Read more >
zip(1): package/compress files - Linux man page
For a brief help on zip and unzip, run each without specifying any ... If a file list is specified as -@ [Not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found