Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use JavaScript (with node) with Argos #133

Open
dandarie opened this issue Oct 20, 2021 · 2 comments
Open

Cannot use JavaScript (with node) with Argos #133

dandarie opened this issue Oct 20, 2021 · 2 comments

Comments

@dandarie
Copy link

I have two scrips that produce the same output:

✦ ↳ ./gmail.1m.sh
Test
---
✦ ↳ ./gmail.1m.js 
Test
---
✦ ↳ diff <(./gmail.1m.sh) <(./gmail.1m.js)
✦ ↳

The JavaScript file:


#!/usr/bin/env node

console.log('Test');
console.log('---');

The bash file:

#!/bin/bash

echo 'Test'
echo '---'

However, one works, one doesn't.

image

image

@yavko
Copy link

yavko commented Mar 17, 2022

I have two scrips that produce the same output:

✦ ↳ ./gmail.1m.sh
Test
---
✦ ↳ ./gmail.1m.js 
Test
---
✦ ↳ diff <(./gmail.1m.sh) <(./gmail.1m.js)
✦ ↳

The JavaScript file:


#!/usr/bin/env node

console.log('Test');
console.log('---');

The bash file:

#!/bin/bash

echo 'Test'
echo '---'

However, one works, one doesn't.

image

image

I have the same issue, tho using process.stdout.write will probably fix

@lanceschi
Copy link

Hello, I confirm the same issue even using process.stdout.write instead of console.log

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

No branches or pull requests

3 participants