remy / inliner

Node utility to inline images, CSS and JavaScript for a web page - useful for mobile sites
MIT License
1.1k stars 165 forks source link

CLI fails when called from a bash script in Eclipse #189

Closed sdc-andy closed 5 years ago

sdc-andy commented 5 years ago

I am trying to integrate the inliner command line tool into a bash script that is then called by Eclipse prior to compiling a project in which the web content is embedded.

When the bash scripts executes, the output window in Eclipse just shows:

`[?25l

`

The .html output file is also 0 bytes.

I suspect this is down to the use of ANSI within the output process. Is there a way to disable this?

-Andy.

hoffa commented 5 years ago

Hey, check this out: https://github.com/remy/inliner/issues/151#issuecomment-428368034 Worked for me. Seems it's assuming a TTY.

sdc-andy commented 5 years ago

Thanks, that seems to have fixed it.

-Andy.